public RecipeLineController(IRecipeLineService RecipeLineService, IExceptionHandler exec, IRecipeHeaderService RecipeHeaderService, IJobOrderSettingsService jobOrderSettingsServ , IDocumentValidation validator) { _RecipeLineService = RecipeLineService; _RecipeHeaderService = RecipeHeaderService; _jobOrderSettingsService = jobOrderSettingsServ; _exception = exec; _validator = validator; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; }
public RecipeHeaderController(IRecipeHeaderService RecipeHeaderService, IExceptionHandler exec, IDocumentTypeService DocumentTypeServ, IDocumentValidation DocValidation, IProcessService ProcessService) { _RecipeHeaderService = RecipeHeaderService; _exception = exec; _documentTypeService = DocumentTypeServ; _documentValidation = DocValidation; _ProcessService = ProcessService; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; }
public PropertyLineController(IPropertyLineService PropertyLineService, IExceptionHandler exec, IPropertyHeaderService PropertyHeaderService, IJobOrderSettingsService jobOrderSettingsServ, IDiscountTypeService DiscountTypeService , IDocumentValidation validator) { _PropertyLineService = PropertyLineService; _PropertyHeaderService = PropertyHeaderService; _jobOrderSettingsService = jobOrderSettingsServ; _DiscountTypeService = DiscountTypeService; _exception = exec; _validator = validator; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; }
public CollectionController(ICollectionService CollectionService, IPropertyHeaderService PropertyHeaderService, IExceptionHandler exec, IDocumentTypeService DocumentTypeServ, ICollectionSettingsService CollectionSettingsServ, IDocumentValidation DocValidation, IProcessService ProcessService) { _CollectionService = CollectionService; _PropertyHeaderService = PropertyHeaderService; _exception = exec; _documentTypeService = DocumentTypeServ; _CollectionSettingsService = CollectionSettingsServ; _documentValidation = DocValidation; _ProcessService = ProcessService; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; }
public JobOrderHeaderController(IJobOrderHeaderService PurchaseOrderHeaderService, IExceptionHandler exec, IDocumentTypeService DocumentTypeServ, IJobOrderSettingsService JobOrderSettingsServ, IPerkService perkServ, IPerkDocumentTypeService perkDocTypeServ, IDocumentValidation DocValidation, ICostCenterService costCenterSer) { _JobOrderHeaderService = PurchaseOrderHeaderService; _exception = exec; _documentTypeService = DocumentTypeServ; _jobOrderSettingsServie = JobOrderSettingsServ; _perkService = perkServ; _perkDocumentTypeService = perkDocTypeServ; _documentValidation = DocValidation; _costCenterService = costCenterSer; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; }
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 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; }