public ProductCustomGroupExcelImportController(IProductCustomGroupHeaderService ProductCustomGroupHeaderService, IProductCustomGroupLineService ProductCustomGroupLineService, ProductService ProductService, IUnitOfWork unitOfWork)
 {
     _ProductCustomGroupHeaderService = ProductCustomGroupHeaderService;
     _ProductCustomGroupLineService   = ProductCustomGroupLineService;
     _ProductService = ProductService;
     _unitOfWork     = unitOfWork;
 }
예제 #2
0
        public ProductCustomGroupHeaderController(IProductCustomGroupHeaderService PurchaseOrderHeaderService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _ProductCustomGroupHeaderService = 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;
        }