Exemple #1
0
 public ManageService(RedoakContext context, IUserService userService,
                      UserManager <ApplicationUser> userManager,
                      RoleManager <IdentityRole> roleManager) : base(context)
 {
     UserService = userService;
     UserManager = userManager;
     RoleManager = roleManager;
 }
 public CustomerManageService(RedoakContext context) : base(context)
 {
 }
 public BaseService(RedoakContext context)
 {
     Context = context;
 }
 public RoleRepository(RedoakContext context) : base(context)
 {
 }
 public StockManageService(RedoakContext context) : base(context)
 {
 }
 public UserService(RedoakContext context) : base(context)
 {
 }
 public CacheService(IMemoryCache cache, RedoakContext context, RoleManager <IdentityRole> roleManager)
 {
     Cache        = cache;
     Context      = context;
     _roleManager = roleManager;
 }
Exemple #8
0
 protected BaseRepository(RedoakContext context)
 {
     Context = context;
 }
 public UserRepository(RedoakContext context) : base(context)
 {
 }