Exemple #1
0
        public PropertyLineController(IPropertyLineService PropertyLineService, IExceptionHandler exec, IPropertyHeaderService PropertyHeaderService, IJobOrderSettingsService jobOrderSettingsServ, IDiscountTypeService DiscountTypeService
                                      , IDocumentValidation validator)
        {
            _PropertyLineService     = PropertyLineService;
            _PropertyHeaderService   = PropertyHeaderService;
            _jobOrderSettingsService = jobOrderSettingsServ;
            _DiscountTypeService     = DiscountTypeService;
            _exception = exec;
            _validator = validator;

            UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"];
        }
Exemple #2
0
        public PropertyHeaderController(IPropertyHeaderService PropertyHeaderService, IExceptionHandler exec, IDocumentTypeService DocumentTypeServ,
                                        IDocumentValidation DocValidation,
                                        IProcessService ProcessService)
        {
            _PropertyHeaderService = PropertyHeaderService;
            _exception             = exec;
            _documentTypeService   = DocumentTypeServ;
            _documentValidation    = DocValidation;
            _ProcessService        = ProcessService;

            UserRoles = (List <string>)System.Web.HttpContext.Current.Session["Roles"];
        }