public DocumentsController(IDocumentService documentService, IDocumentTypeService documentTypeService, IWorkFlowExecutorService workFlowExecutorService, IDocumentCategoryService documentCategoryService) { _documentService = documentService; _documentTypeService = documentTypeService; _workFlowExecutorService = workFlowExecutorService; _documentCategoryService = documentCategoryService; }
public DocumentController() { _employeeDocumentService = new EmployeeDocumentService(); _documentCategoryService = new DocumentCategoryService(); _empDetails = new EmployeeService(); _moduleService = new ModuleService(); }
public DocumentController( IUserService IUserService, IRelationService IRelationService, IDocumentService IDocumentService, IEmployementService IEmployementService, IDocumentDetailsService IDocumentDetailsService, IDocumentCategoryService IDocumentCategoryService, IEducationDocumentCategoryMappingService IEducationDocumentCategoryMappingService, ICandidateProgressDetailService ICandidateProgressDetailService, IPersonalService IPersonalService, IEmployeeService IEmployeeService, IEmploymentCountService IEmploymentCountService) { _IUserService = IUserService; _IRelationService = IRelationService; _IEmployementService = IEmployementService; _IDocumentDetailsService = IDocumentDetailsService; _IDocumentCategoryService = IDocumentCategoryService; _IDocumentService = IDocumentService; _IEducationDocumentCategoryMappingService = IEducationDocumentCategoryMappingService; _ICandidateProgressDetailService = ICandidateProgressDetailService; _IPersonalService = IPersonalService; _IEmploymentCountService = IEmploymentCountService; _loginDetails = new LoginDetail(); _document = new Master_Document(); _docDetails = new DocumentDetail(); _employment = new EmploymentDetail(); _DocumetCat = new Master_DocumentCategory(); _DocumetCatNew = new Master_DocumentCategory(); _educationDocumentCategoryMapping = new EducationDocumentCategoryMapping(); _IEmployeeService = IEmployeeService; }
public DocumentCategoryController(IDocumentCategoryService DocumentCategoryService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _DocumentCategoryService = DocumentCategoryService; _unitOfWork = unitOfWork; _exception = exec; //Log Initialization LogVm.SessionId = 0; LogVm.ControllerName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("controller"); LogVm.ActionName = System.Web.HttpContext.Current.Request.RequestContext.RouteData.GetRequiredString("action"); LogVm.User = System.Web.HttpContext.Current.Request.RequestContext.HttpContext.User.Identity.Name; }
public DocumentCategoriesController(IDocumentCategoryService documentCategoryService) { _documentCategoryService = documentCategoryService; }
protected override void Dispose(bool disposing) { if (disposing) { if (DocumentCategoryService != null) { DocumentCategoryService = null; } } base.Dispose(disposing); }
public DocumentCategoryController() { _documentCategoryService = new DocumentCategoryService(); _moduleService = new ModuleService(); }