public ModuleService(IRepository repository, UserManager <ApplicationUser> userManager, IUserService userService, ITrustService trustService) { this._repository = repository; this._userManager = userManager; this._context = repository.GetContext(); this._userService = userService; this._trustService = trustService; }
/// [email protected] /// Admin@123 public UserService(IRepository repository, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, ICacheService cacheService) { this._repository = repository; this._userManager = userManager; this._roleManager = roleManager; this._cacheService = cacheService; _context = repository.GetContext(); }
public UserController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signManager , IUserService userService, IModuleService moduleService, ITrustService trustService, IRepository repository) : base(userManager) { _userService = userService; _userManager = userManager; _signManager = signManager; _moduleService = moduleService; _trustService = trustService; _context = repository.GetContext(); }
public Repository(PharmixEntityContext context) { this._context = context; }
public AuditInfoService(IRepository repository) { this.repository = repository; this._context = repository.GetContext(); }
public TrustService(IRepository repository) { this.repository = repository; _context = repository.GetContext(); }
public PermissionGroupService(IRepository repository) { this.repository = repository; this._context = repository.GetContext(); }
public RolePermissionService(IRepository repository) { this._repository = repository; _context = _repository.GetContext(); }