Exemple #1
0
 public CustomProjectService(ApplicationDbContext context, UserManager <CustomUser> userManager, IHttpContextAccessor contextAccessor, ICustomRoleService roleService)
 {
     _context         = context;
     _userManager     = userManager;
     _contextAccessor = contextAccessor;
     _roleService     = roleService;
 }
 public ProjectAttachmentsController(ApplicationDbContext context,
                                     UserManager <CustomUser> userManager,
                                     ICustomRoleService roleService,
                                     ICustomFileService fileService)
 {
     _context     = context;
     _userManager = userManager;
     _roleService = roleService;
     _fileService = fileService;
 }
 public ProjectsController(ApplicationDbContext context, ICustomProjectService projectService, ICustomRoleService roleService,
                           IImageService imageService,
                           UserManager <CustomUser> userManager)
 {
     _context        = context;
     _projectService = projectService;
     _roleService    = roleService;
     _imageService   = imageService;
     _userManager    = userManager;
 }
 public InvitesController(ILogger <HomeController> logger,
                          ApplicationDbContext context,
                          UserManager <CustomUser> userManager,
                          IEmailSender emailSender,
                          ICustomProjectService projectService,
                          ICustomRoleService roleService)
 {
     _logger         = logger;
     _context        = context;
     _userManager    = userManager;
     _emailSender    = emailSender;
     _projectService = projectService;
     _roleService    = roleService;
 }
 public HomeController(ILogger <HomeController> logger,
                       ICustomRoleService customRoleService,
                       ApplicationDbContext dbContext,
                       IEmailSender emailSender,
                       UserManager <CustomUser> userManager,
                       ICustomProjectService projectService)
 {
     _logger            = logger;
     _customRoleService = customRoleService;
     _dbContext         = dbContext;
     _emailSender       = emailSender;
     _userManager       = userManager;
     _projectService    = projectService;
 }
 public RegisterModel(
     UserManager <CustomUser> userManager,
     SignInManager <CustomUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender, ApplicationDbContext context
     , ICustomRoleService roleService)
 {
     _context       = context;
     _roleService   = roleService;
     _userManager   = userManager;
     _signInManager = signInManager;
     _logger        = logger;
     _emailSender   = emailSender;
 }
Exemple #7
0
 public TicketsController(ApplicationDbContext context,
                          UserManager <CustomUser> userManager,
                          ICustomHistoryService customHistoryService,
                          IEmailSender emailSender,
                          ICustomProjectService projectService,
                          ICustomRoleService roleService,
                          SignInManager <CustomUser> signInManager,
                          IListDeveloperAndProject listDeveloperAndProject)
 {
     _context                 = context;
     _userManager             = userManager;
     _customHistoryService    = customHistoryService;
     _emailSender             = emailSender;
     _projectService          = projectService;
     _roleService             = roleService;
     _signInManager           = signInManager;
     _listDeveloperAndProject = listDeveloperAndProject;
 }
 public StatusController(ApplicationDbContext context, UserManager <CustomUser> userManager, ICustomRoleService roleService)
 {
     _context     = context;
     _userManager = userManager;
     _roleService = roleService;
 }