public ItCompanyService(ItCompanyContext context)
 {
     Repo   = new EfCoreItCompanyRepository(context);
     Mapper = new ItCompanyMapper(Repo);
 }
Exemple #2
0
 public EmployeeService(ItCompanyContext context)
 {
     Repo   = new EfCoreEmployeeRepository(context);
     Mapper = new EmployeeMapper(Repo);
 }
 public DepartmentService(ItCompanyContext context)
 {
     Repo   = new EfCoreDepartmentRepository(context);
     Mapper = new DepartmentMapper(Repo);
 }
Exemple #4
0
 public TaskService(ItCompanyContext context)
 {
     Repo   = new EfCoreTaskEntityRepository(context);
     Mapper = new TaskMapper(Repo);
 }
Exemple #5
0
 public DepartmentsController(ItCompanyContext context)
 {
     _context = context;
 }
 public ItCompaniesController(ItCompanyContext context)
 {
     _context = context;
 }
 public EmployeesController(ItCompanyContext context)
 {
     _context = context;
 }