Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 /// [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();
 }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
 public Repository(PharmixEntityContext context)
 {
     this._context = context;
 }
Esempio n. 5
0
 public AuditInfoService(IRepository repository)
 {
     this.repository = repository;
     this._context   = repository.GetContext();
 }
Esempio n. 6
0
 public TrustService(IRepository repository)
 {
     this.repository = repository;
     _context        = repository.GetContext();
 }
 public PermissionGroupService(IRepository repository)
 {
     this.repository = repository;
     this._context   = repository.GetContext();
 }
Esempio n. 8
0
 public RolePermissionService(IRepository repository)
 {
     this._repository = repository;
     _context         = _repository.GetContext();
 }