예제 #1
0
        public ReportLineController(IReportLineService ReportLineService, IExceptionHandler exec, IReportHeaderService ReportHeaderServ)
        {
            _ReportLineService   = ReportLineService;
            _ReportHeaderService = ReportHeaderServ;
            _exception           = exec;

            UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"];
        }
        public Posting_ProcedureExecuteController(IUnitOfWork unitOfWork, IReportLineService line)
        {
            _unitOfWork        = unitOfWork;
            _ReportLineService = line;

            //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;
        }
예제 #3
0
        public Report_ReportPrintController(IUnitOfWork unitOfWork, IReportLineService line)
        {
            _unitOfWork        = unitOfWork;
            _ReportLineService = line;

            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;
        }
예제 #4
0
        public ReportLineController(IReportLineService ReportLineService, IUnitOfWork unitOfWork, IExceptionHandlingService exec)
        {
            _ReportLineService = ReportLineService;
            _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;
        }
예제 #5
0
        public ReportHeaderService(IUnitOfWork unitOfWork, IRepository <ReportHeader> ReportHeaderRepo, ILogger log, IDocumentTypeService DoctypeServ
                                   , IReportLineService reportlineServ, IModificationCheck modificationcheck)
        {
            _unitOfWork             = unitOfWork;
            _ReportHeaderRepository = ReportHeaderRepo;
            _logger = log;
            _DocumentTypeService = DoctypeServ;
            _reportLineService   = reportlineServ;
            _modificationCheck   = modificationcheck;

            //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;
        }
예제 #6
0
        public Report_ReportPrintController(IReportLineService line, IReportHeaderService ReportHeader, ILogger logger, IDocumentTypeService DoctypeServ
                                            , IReportUIDValuesService reportUidValuesServ)
        {
            _ReportLineService   = line;
            _ReportHeaderService = ReportHeader;
            _logger = logger;
            _documentTypeService    = DoctypeServ;
            _reportUidValuesService = reportUidValuesServ;

            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;
        }
예제 #7
0
 public PostingLayoutController(IUnitOfWork work, IReportLineService line)
 {
     _unitOfWork        = work;
     _ReportLineService = line;
 }
 public ReportLayoutController(IReportLineService line, IReportHeaderService ReportHeaderServ)
 {
     _ReportLineService   = line;
     _ReportHeaderservice = ReportHeaderServ;
 }
 public Report_ReportPrintController(IUnitOfWork unitOfWork, IReportLineService line)
 {
     _unitOfWork        = unitOfWork;
     _ReportLineService = line;
 }