Base solution for your next web application

Activities of "mayowa ogundele"

I didnt add it to the DbContext, because it is supposed to be a virtual property of User.

Hello, I also have an issue related to the error above. I am trying to use the repository entity pattern, but i keep having the error above. The actual error is Can't create component 'Users.UserProfileAppService' as it has dependencies to be satisfied.

'Users.UserProfileAppService' is waiting for the following dependencies:

  • Service 'Abp.Domain.Repositories.IRepository`1[[Users.UserProfile, AppMine.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.
public class UserProfileAppService : IUserProfileAppService
    {
        private readonly IRepository<UserProfile> _userProfileRepository;

        public UserProfileAppService(IRepository<UserProfile> userProfileRepository)
        {
            _userProfileRepository = userProfileRepository;
        }
 }

UserProfile inherits from Entity; IUserProfileAppService inherits from IApplicationService

Showing 1 to 2 of 2 entries