public ApplicationUserService(IApplicationUserRepository UserRepository, IDentityRoleRepository RoleRepository, IEncryptionService EncryptionService, IUnitOfWork unitOfWork) { this.UserRepository = UserRepository; this.RoleRepository = RoleRepository; this.EncryptionService = EncryptionService; this.unitOfWork = unitOfWork; applicationDbContext = new ApplicationDbContext(); }
public RoleService(IDentityRoleRepository RoleRepository, IUnitOfWork unitOfWork) { this.RoleRepository = RoleRepository; this.unitOfWork = unitOfWork; }