public PostController(MDbContext db, AppConfiguration appConfiguration, IHostingEnvironment env, RoleManager <IdentityRole> roleManager) { _db = db; _env = env; _configuration = appConfiguration; _roleManager = roleManager; }
public DepartmentRepository(MDbContext context) : base(context) { _context = context; }
public UserRepository(MDbContext context) : base(context) { _context = context; }
//private readonly UserManager<User> _userManager; //private readonly SignInManager<User> _signInManager; public DetailController(MDbContext db, UserManager <User> userManager, SignInManager <User> signInManager) { _db = db; //_userManager = userManager; //_signInManager = signInManager; }
public RoleRepository(MDbContext context) : base(context) { _context = context; }
public DesignationRepository(MDbContext context) : base(context) { _context = context; }