public DyeingService(IUnitOfWork unit, IRepository <JobReceiveHeader> RecipeRepo, IJobReceiveLineService JobReceiveLineService, IJobReceiveLineStatusService JobReceiveLineStatusService, IJobReceiveHeaderExtendedService JobReceiveHeaderExtendedService, IStockService StockServ, IStockProcessService StockPRocServ, ILogger log, IModificationCheck modificationCheck, IRepository <Product> ProductRepo, IRepository <Unit> UnitRepo) { _unitOfWork = unit; _DyeingRepository = RecipeRepo; _stockProcessService = StockPRocServ; _stockService = StockServ; _logger = log; _modificationCheck = modificationCheck; _productRepository = ProductRepo; _unitRepository = UnitRepo; _JobReceiveLineService = JobReceiveLineService; _JobReceiveLineStatusService = JobReceiveLineStatusService; _JobReceiveHeaderExtendedService = JobReceiveHeaderExtendedService; //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 DARService(IRepository <DAR> darRepository, IUnitOfWork unitofwork, IRepository <Tasks> TaskRepository, IModificationCheck ModificationCheck) { _DARRepository = darRepository; _TaskRepository = TaskRepository; _uniOfWork = unitofwork; _ModificationCheck = ModificationCheck; }
public ReportLineService(IUnitOfWork unitOfWork, IRepository <ReportLine> ReportLineRepo, ILogger log, IDocumentTypeService DoctypeServ, IModificationCheck modificationcheck) { _unitOfWork = unitOfWork; _ReportLineRepository = ReportLineRepo; _logger = log; _DocumentTypeService = DoctypeServ; _modificationCheck = modificationcheck; //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 PersonRateGroupController(IPersonRateGroupService PersonRateGroupService, IDocumentTypeService DocumentTypeService, IExceptionHandler exec, ILogger log, IModificationCheck modificationCheck, IDocumentValidation DocValidation) { _PersonRateGroupService = PersonRateGroupService; _DocumentTypeService = DocumentTypeService; _exception = exec; _documentValidation = DocValidation; _logger = log; _modificationCheck = modificationCheck; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; 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 SubRecipeService(IUnitOfWork unit, IJobOrderHeaderService JobOrderHeaderService, IJobOrderLineService JobOrderLineService, IRecipeHeaderService RecipeHeaderService, ILogger log, IModificationCheck modificationCheck) { _unitOfWork = unit; _logger = log; _modificationCheck = modificationCheck; _JobOrderHeaderService = JobOrderHeaderService; _JobOrderLineService = JobOrderLineService; _RecipeHeaderService = RecipeHeaderService; //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 BinLocationController(IBinLocationService BinLocationService, IDocumentTypeService DocumentTypeService, IExceptionHandler exec, IGodownService GodownService, ILogger log, IModificationCheck modificationCheck, IJobOrderSettingsService jobOrderSettingsServ , IDocumentValidation validator) { _BinLocationService = BinLocationService; _GodownService = GodownService; _DocumentTypeService = DocumentTypeService; _jobOrderSettingsService = jobOrderSettingsServ; _logger = log; _exception = exec; _validator = validator; _modificationCheck = modificationCheck; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; 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 JobReceiveLineService(IUnitOfWork unitOfWork, IRepository <JobReceiveLine> JobReceiveLineRepo, IRepository <JobReceiveHeader> JobReceiveHeaderRepo, ILogger log , IStockService stockSErv, IStockProcessService stockProcServ, IModificationCheck modificationCheck //, IJobReceiveSettingsService JobReceiveSettingsServ ) { _unitOfWork = unitOfWork; _JobReceiveLineRepository = JobReceiveLineRepo; _JobReceiveHeaderRepository = JobReceiveHeaderRepo; _stockProcessService = stockProcServ; _stockService = stockSErv; _modificationCheck = modificationCheck; _logger = log; // _jobreceiveSettingsService = JobReceiveSettingsServ; //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 TasksService(IRepository <Tasks> TaskRepository, IUnitOfWork unitofwork, IModificationCheck ModificationCheck) { _TaskRepository = TaskRepository; _uniOfWork = unitofwork; _ModificationCheck = ModificationCheck; }
public ProjectService(IRepository <Project> ProjectRepository, IUnitOfWork unitofwork, IModificationCheck ModificationCheck) { _ProjectRepository = ProjectRepository; _uniOfWork = unitofwork; _ModificationCheck = ModificationCheck; }