public ListModel(IRepository <DictionaryValue, Guid> dictionaryValuesRepo, IWebHostEnvironment webHostEnvironment, documentAppService documentAppService, IGuidGenerator guidGenerator, EmployeeAppService employeeAppService, IJsonSerializer jsonSerializer) { DictionaryValuesRepo = dictionaryValuesRepo; this.webHostEnvironment = webHostEnvironment; this.documentAppService = documentAppService; this.guidGenerator = guidGenerator; this.employeeAppService = employeeAppService; JsonSerializer = jsonSerializer; }
public ListModel(IJsonSerializer jsonSerializer, IRepository <DictionaryValue, Guid> dictionaryValuesRepo, CompanyAppService companyAppService, IWebHostEnvironment webHostEnvironment, documentAppService documentAppService, IAuditLogRepository auditLogsRepo) { JsonSerializer = jsonSerializer; DictionaryValuesRepo = dictionaryValuesRepo; CompanyAppService = companyAppService; this.webHostEnvironment = webHostEnvironment; this.documentAppService = documentAppService; AuditLogsRepo = auditLogsRepo; }
internal void Initialize(IRepository <DictionaryValue, Guid> dictionaryValuesRepo, documentAppService docAppService) { try { for (int i = 0; i < PhysicalIds.Count; i++) { PhysicalIds[i].DicValuesProxy = dictionaryValuesRepo; PhysicalIds[i].DocAppServiceProxy = docAppService; PhysicalIds[i].Document = PhysicalIds[i].GetDocument; } } catch { } }
public ListModel(IJsonSerializer jsonSerializer, PayrunAppService payrunAppService, IRepository <PayrunDetail, int> payrunDetailsRepo, CompanyAppService CompanyAppService, EmployeeAppService employeeAppService, IRepository <DictionaryValue, Guid> dicValuesRepo, documentAppService documentAppService, TimesheetAppService timesheetAppService, IWebHostEnvironment webHostEnvironment) { JsonSerializer = jsonSerializer; PayrunAppService = payrunAppService; PayrunDetailsRepo = payrunDetailsRepo; CompanyAppService = CompanyAppService; EmployeeAppService = employeeAppService; DicValuesRepo = dicValuesRepo; this.documentAppService = documentAppService; this.timesheetAppService = timesheetAppService; this.webHostEnvironment = webHostEnvironment; }