示例#1
0
 public UserManagementController(IHttpContextAccessor httpContextAccessor,
                                 IUserService userService,
                                 IMapper mapper,
                                 IUserService service,
                                 UserManager <ApplicationUser> userManager,
                                 RoleManager <ApplicationRole> roleManager,
                                 IASPService asp,
                                 SignInManager <ApplicationUser> signInManager,
                                 FileHelper fileHelper,
                                 ConfigHelper config,
                                 ExcelHelper excel,
                                 IUserHelper userHelper,
                                 MailingHelper mail,
                                 IOptions <HostConfiguration> hostConfiguration,
                                 NotifHelper notifHelper,
                                 IHostingEnvironment environment)
     : base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _asp               = asp;
     _userManager       = userManager;
     _roleManager       = roleManager;
     _fileHelper        = fileHelper;
     _config            = config;
     _hostConfiguration = hostConfiguration.Value;
     _environment       = environment;
     _signInManager     = signInManager;
     _excel             = excel;
     _notifHelper       = notifHelper;
 }
示例#2
0
 public AssignmentController(IHttpContextAccessor httpContextAccessor,
                             IUserService userService, IMapper mapper,
                             IAssignmentService service,
                             IUserProfileService profileUser,
                             IUserProfileService user,
                             IOptions <HostConfiguration> hostConfiguration,
                             UserManager <ApplicationUser> userManager,
                             NotifHelper notif,
                             FileHelper file,
                             IHostingEnvironment env,
                             ExcelHelper excel,
                             IASPService asp,
                             IMapAsgBastService mappingAsgBast,
                             IBastService bast,
                             IWebSettingService webset,
                             IUserHelper userHelper) :
     base(httpContextAccessor, userService, mapper, service, userHelper)
 {
     _user              = user;
     _notif             = notif;
     _userService       = userService;
     _profileUser       = profileUser;
     _file              = file;
     _userHelper        = userHelper;
     _env               = env;
     _userManager       = userManager;
     _hostConfiguration = hostConfiguration.Value;
     _service           = service;
     _excel             = excel;
     _bast              = bast;
     _mappingAsgBast    = mappingAsgBast;
     _webset            = webset;
     this._asp          = asp;
 }