Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "alikareemraja"

<cite>hikalkan: </cite> Rename PostRepoistory to PostRepository than it will work.. typing mistake ;)

Ah, a typo. That's embarrassing :shock: . Thank you for the help guys!

<cite>Chrisk: </cite> Hi There,

Are you using EF for data access ? If so there is generic repository that you propably want to use. How do you register your repositories ?

Thank you for the quick response! This is my repository interface

public interface IPostRepository : IRepository<Post, Guid >
    {
    }

And this is my repository.

public class PostRepoistory : AMSRepositoryBase<Post, Guid>, IPostRepository
    {
        public PostRepoistory(IDbContextProvider<AMSDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }
    }

Hope this makes things more clear

Stupid mistake on my end. Removed <script src="~/api/AbpServiceProxies/GetAll"></script> which was causing the issue :)

Showing 1 to 3 of 3 entries