public FormRepository(MgmtDbContext context,
                       ILogger <FormRepository> logger,
                       UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _logger      = logger;
     _userManager = userManager;
 }
 public TaskController(ILogger <TaskController> logger, MgmtDbContext context,
                       UserManager <ApplicationUser> userManager, AutoMapperConfig mapper, IEmployeeTaskRepository employeeTaskRepository,
                       IFormRepository formRepository, ITaskForEmployeeRepository taskForEmployeeRepository,
                       IInvoiceRepository invoiceRepository)
 {
     _logger                    = logger;
     _context                   = context;
     _userManager               = userManager;
     _mapper                    = mapper;
     _employeeTaskRepository    = employeeTaskRepository;
     _formRepository            = formRepository;
     _taskForEmployeeRepository = taskForEmployeeRepository;
     _invoiceRepository         = invoiceRepository;
 }
Exemplo n.º 3
0
 public EmployeeController(MgmtDbContext context,
                           UserManager <ApplicationUser> userManager,
                           ITaskForEmployeeRepository taskForEmployeeRepository,
                           IEmployeeTaskRepository employeeTaskRepository,
                           ILogger <EmployeeController> logger,
                           INotificationRepository notificationRepository)
 {
     _context     = context;
     _userManager = userManager;
     _taskForEmployeeRepository = taskForEmployeeRepository;
     _employeeTaskRepository    = employeeTaskRepository;
     _logger = logger;
     _notificationRepository = notificationRepository;
 }
Exemplo n.º 4
0
 public AccountController(UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          RoleManager <IdentityRole> roleManager,
                          ILogger <AccountController> logger,
                          AutoMapperConfig mapper,
                          MgmtDbContext context)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     _logger        = logger;
     _mapper        = mapper;
     _context       = context;
 }
Exemplo n.º 5
0
 public AdministrationController(UserManager <ApplicationUser> userManager,
                                 MgmtDbContext context,
                                 RoleManager <IdentityRole> roleManager,
                                 IEmployeeTaskRepository employeeTaskRepository,
                                 ILogger <AdministrationController> logger,
                                 AutoMapperConfig mapper,
                                 INotificationRepository notificationRepository,
                                 ITaskForEmployeeRepository taskForEmployeeRepository)
 {
     _userManager            = userManager;
     _context                = context;
     _roleManager            = roleManager;
     _employeeTaskRepository = employeeTaskRepository;
     _logger = logger;
     _mapper = mapper;
     _notificationRepository    = notificationRepository;
     _taskForEmployeeRepository = taskForEmployeeRepository;
 }
 public ContactRepository(MgmtDbContext context)
 {
     this.context = context;
 }
Exemplo n.º 7
0
 public InvoiceRepository(MgmtDbContext context)
 {
     _context = context;
 }
 public TaskForEmployeeRepository(MgmtDbContext context)
 {
     _context = context;
 }
Exemplo n.º 9
0
 public NotificationRepository(MgmtDbContext context, ILogger <NotificationRepository> logger)
 {
     _context = context;
     _logger  = logger;
 }
 public EmployeeTaskRepository(MgmtDbContext context)
 {
     _context = context;
 }