public ProductConsumptionHeaderController(IBomDetailService BomDetailService, IProductService ProductService, IActivityLogService ActivityLogService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
 {
     _BomDetailService   = BomDetailService;
     _ProductService     = ProductService;
     _ActivityLogService = ActivityLogService;
     _unitOfWork         = unitOfWork;
     _exception          = exec;
 }
        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 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 ProductConsumptionLineController(IBomDetailService BomDetail, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
 {
     _BomDetailService = BomDetail;
     _unitOfWork       = unitOfWork;
     _exception        = exec;
 }