public StockInHandController(IStockInHandService StockInHandService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _StockInHandService = StockInHandService; _unitOfWork = unitOfWork; _exception = exec; }
public ProductCategorySettingsController(IProductCategorySettingsService ProductCategorySettingsService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ProductCategorySettingsService = ProductCategorySettingsService; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 ProductUidController(IProductUidService ProductUidService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ProductUidService = ProductUidService; _unitOfWork = unitOfWork; _exception = exec; }
public GatePassLineController(IGatePassLineService GatePass, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _GatePassLineService = GatePass; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 GatePassController(IGatePassHeaderService GatePassService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _GatePassService = GatePassService; _unitOfWork = unitOfWork; _exception = exec; /* if (!PurchaseOrderEvents.Initialized) * { * PurchaseOrderEvents Obj = new PurchaseOrderEvents(); * } */ UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 LogHistoryController() { _exception = new ExceptionHandlingService(); }
public PurchaseOrderCancelWizardController(IPurchaseOrderCancelHeaderService _service, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _PurchaseOrderCancelHeaderService = _service; _exception = exec; _unitOfWork = unitOfWork; if (!PurchaseOrderCancelEvents.Initialized) { PurchaseOrderCancelEvents Obj = new PurchaseOrderCancelEvents(); } UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 AgentController(IAgentService AgentService, IBusinessEntityService BusinessEntityService, IAccountService AccountService, IPersonService PersonService, IPersonRegistrationService PersonRegistrationService, IPersonAddressService PersonAddressService, IPersonProcessService PersonProcessService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _AgentService = AgentService; _PersonService = PersonService; _PersonAddressService = PersonAddressService; _BusinessEntityService = BusinessEntityService; _AccountService = AccountService; _PersonProcessService = PersonProcessService; _PersonRegistrationService = PersonRegistrationService; _ActivityLogService = ActivityLogService; _unitOfWork = unitOfWork; _exception = exec; }
public Display_ProdOrderBalanceController(IDisplay_ProdOrderBalanceService Display_ProdOrderBalanceService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ProdOrderBalanceService = Display_ProdOrderBalanceService; _exception = exec; _unitOfWork = unitOfWork; }
public StockProcessDisplayController(IStockProcessDisplayService StockProcessDisplayService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _StockProcessDisplayService = StockProcessDisplayService; _unitOfWork = unitOfWork; _exception = exec; }
public PackingHeaderWithBuyerDetailController(IPackingHeaderService PackingHeaderService, IActivityLogService ActivityLogService, IStockService StockService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _PackingHeaderService = PackingHeaderService; _ActivityLogService = ActivityLogService; _StockService = StockService; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 CustomDetailController(ICustomDetailService CustomDetailService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _CustomDetailService = CustomDetailService; _ActivityLogService = ActivityLogService; _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 MaterialRequestHeaderController(IRequisitionHeaderService PurchaseOrderHeaderService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _RequisitionHeaderService = PurchaseOrderHeaderService; _ActivityLogService = ActivityLogService; _exception = exec; _unitOfWork = unitOfWork; if (!MaterialRequestEvents.Initialized) { MaterialRequestEvents Obj = new MaterialRequestEvents(); } UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 PersonProcessController(IPersonProcessService PersonProcess, IPersonService Person, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _PersonProcessService = PersonProcess; _PersonService = Person; _unitOfWork = unitOfWork; _exception = exec; }
public UpdateJobOrderExpiryController(IUpdateJobExpiryService JobExpiryService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _JobExpiryService = JobExpiryService; _exception = exec; _unitOfWork = unitOfWork; }
public CalculationLineLedgerAccountController(ICalculationLineLedgerAccountService SaleOrder, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _CalculationLineLedgerAccountService = SaleOrder; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 TaxCalculationController(IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _unitOfWork = unitOfWork; _exception = exec; }
public MaterialPlanCancelHeaderController(IMaterialPlanCancelHeaderService MaterialPlanCancelHeaderService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _MaterialPlanCancelHeaderService = MaterialPlanCancelHeaderService; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 DesignConsumptionLineController(IBomDetailService BomDetail, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _BomDetailService = BomDetail; _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 ProcessSequenceHeaderController(IProcessSequenceHeaderService PurchaseOrderHeaderService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ProcessSequenceHeaderService = PurchaseOrderHeaderService; _ActivityLogService = ActivityLogService; _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 ActivityLogController(IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ActivityLogService = ActivityLogService; _unitOfWork = unitOfWork; _exception = exec; }
public FinishedProductConsumptionLineController(IBomDetailService BomDetail, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _BomDetailService = BomDetail; _unitOfWork = unitOfWork; _exception = exec; }
public SaleDeliveryOrderHeaderController(ISaleDeliveryOrderHeaderService PurchaseOrderHeaderService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _SaleDeliveryOrderHeaderService = PurchaseOrderHeaderService; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 DesignConsumptionHeaderController(IBomDetailService BomDetailService, IProductService ProductService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _BomDetailService = BomDetailService; _ProductService = ProductService; _ActivityLogService = ActivityLogService; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 PurchaseWaybillController(IPurchaseWaybillService PurchaseWaybillService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _PurchaseWaybillService = PurchaseWaybillService; _unitOfWork = unitOfWork; _exception = exec; }
public ProductTypeController(IProductTypeService productTypeService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _ProductTypeService = productTypeService; _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 FinancialDisplayController(IFinancialDisplayService FinancialDisplayService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _FinancialDisplayService = FinancialDisplayService; _exception = exec; _unitOfWork = unitOfWork; }
public JobOrderRateAmendmentWizardController(IJobOrderAmendmentHeaderService JobOrderAmendmentHeaderService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _JobOrderAmendmentHeaderService = JobOrderAmendmentHeaderService; _exception = exec; _unitOfWork = unitOfWork; if (!JobOrderAmendmentEvents.Initialized) { JobOrderAmendmentEvents Obj = new JobOrderAmendmentEvents(); } UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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 JobWorkerController(IJobWorkerService JobWorkerService, IBusinessEntityService BusinessEntityService, IAccountService AccountService, IPersonService PersonService, IPersonRegistrationService PersonRegistrationService, IPersonAddressService PersonAddressService, IPersonProcessService PersonProcessService, IUnitOfWork unitOfWork, IExceptionHandlingService exec) { _JobWorkerService = JobWorkerService; _PersonService = PersonService; _PersonAddressService = PersonAddressService; _BusinessEntityService = BusinessEntityService; _AccountService = AccountService; _PersonProcessService = PersonProcessService; _PersonRegistrationService = PersonRegistrationService; _unitOfWork = unitOfWork; _exception = exec; }
public SaleDeliveryLineController(IStockService StockService, ISaleDeliveryLineService SaleDelivery, IUnitOfWork unitOfWork, IExceptionHandlingService exec, IPackingLineService packLineServ) { _SaleDeliveryLineService = SaleDelivery; _StockService = StockService; _PackingLineService = packLineServ; _unitOfWork = unitOfWork; _exception = exec; UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"]; //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; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultViewModelExceptionHandlingService" /> class. /// </summary> /// <param name="exceptionHandlingService">The exception handling service.</param> public DefaultViewModelExceptionHandlingService( IExceptionHandlingService exceptionHandlingService ) { _exceptionHandlingService = exceptionHandlingService; }