Esempio n. 1
0
 public ArticleController(Ireposatory <Article> repo, JournalDbcontext _Context)
 {
     // _uow = uow;
     //   httpContextAccessor = _httpContextAccessor;
     _repo   = repo;
     Context = _Context;
 }
 public AccountController(UserManager <ApplicationUser> _userManager,
                          RoleManager <IdentityRole> _roleManager,
                          SignInManager <ApplicationUser> _signInManager,
                          JournalDbcontext _db)
 {
     userManager   = _userManager;
     roleManager   = _roleManager;
     signInManager = _signInManager;
     db            = _db;
 }
Esempio n. 3
0
 public UnitOfWork(JournalDbcontext context)
 {
     Context = context;
 }