public ProductCustomGroupExcelImportController(IProductCustomGroupHeaderService ProductCustomGroupHeaderService, IProductCustomGroupLineService ProductCustomGroupLineService, ProductService ProductService, IUnitOfWork unitOfWork)
 {
     _ProductCustomGroupHeaderService = ProductCustomGroupHeaderService;
     _ProductCustomGroupLineService   = ProductCustomGroupLineService;
     _ProductService = ProductService;
     _unitOfWork     = unitOfWork;
 }
Esempio n. 2
0
        public ProductCustomGroupLineController(IProductCustomGroupLineService SaleOrder, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _ProductCustomGroupLineService = SaleOrder;
            _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;
        }