Ejemplo n.º 1
0
 public ProjectController(IGetProjectService getProjectService,
                          IAddProjectService addProjectService,
                          IUnitOfWork <DataContext> unitOfWork,
                          IGetCodeDetailService getCodeDetailService)
 {
     _getProjectService    = getProjectService;
     _addProjectService    = addProjectService;
     _getCodeDetailService = getCodeDetailService;
     _unitOfWork           = unitOfWork;
 }
Ejemplo n.º 2
0
 public CodeMapController(IAddService4CodeMap codeMapService,
                          IUnitOfWork <DataContext> unitOfWork,
                          IGetCategories getCategoryService,
                          IGetCodeDetailService getCodeDetailService)
 {
     _codeMapService       = codeMapService;
     _getCategoryService   = getCategoryService;
     _getCodeDetailService = getCodeDetailService;
     _context = unitOfWork;
 }