示例#1
0
 public ExcusesController(IExcuseService excuseService, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, ApplicationDbContext context,
                          IHttpContextAccessor httpContextAccessor)
 {
     this.userManager         = userManager;
     this.roleManager         = roleManager;
     _context                 = context;
     _excuseService           = excuseService;
     this.httpContextAccessor = httpContextAccessor;
 }
 public CustomizeFormController(ICategoryService categoryService, IKeywordService keywordService, IExcuseService excuseService)
 {
     _categoryService = categoryService;
     _keywordService  = keywordService;
     _excuseService   = excuseService;
 }