Esempio n. 1
0
 public TestController(IServiceHandlerFactory ServiceHandlerFactory
                       , IFilterFactory FilterFactory
                       , IRule RulesFactor
                       , ICommonInfo CommonInfo)
 ///  : base(ServiceHandlerFactory, FilterFactory, RulesFactor, CommonInfo)
 {
 }
Esempio n. 2
0
 public WeatherForecastController(IServiceHandlerFactory ServiceHandlerFactory
                                  , ISubCategoriesService SubCategoriesService
                                  , ILogger <WeatherForecastController> logger)
 {
     _logger = logger;
     _SubCategoriesService  = SubCategoriesService;
     _ServiceHandlerFactory = ServiceHandlerFactory;
 }
Esempio n. 3
0
 public SubCategoryEdits(IServiceHandlerFactory ServiceHandlerFactory
                         , IFilterFactory FilterFactory
                         , IListFactory ListFactory
                         , ICommonInfo CommonInfo
                         )
     : base(ServiceHandlerFactory, FilterFactory, ListFactory, CommonInfo)
 {
 }
Esempio n. 4
0
 public TestWebController(
     IServiceHandlerFactory ServiceHandlerFactory
     , IRule RuleFactory
     , IFilterFactory FilterFactory
     , ICommonInfo CommonInfo
     )
 //: base(ServiceHandlerFactory
 //      , RuleFactory
 //      , FilterFactory
 //      , CommonInfo
 //      , null)
 {
 }
Esempio n. 5
0
 public SubCategoryRules(IServiceHandlerFactory ServiceHandlerFactory)
     : base(ServiceHandlerFactory)
 {
 }
Esempio n. 6
0
 public SubCategoryItemEdits(IServiceHandlerFactory ServiceHandlerFactory)
     : base(ServiceHandlerFactory, null, null, null)
 {
 }
Esempio n. 7
0
        //public void RunRules(IBaseEntity Entity, EntityRules Entities, ModelStateDictionary modelState)
        //{
        // //   modelState.AddModelError("", "TestEntityError");
        //}


        //public void RunRulesOnModel(IViewModel Entity, ModelStateDictionary modelState)
        //{
        //    if ( ((TestViewModel)Entity).Name == string.Empty)
        //        modelState.AddModelError("", "TestEntityError on Model");
        //}
        public TestEntityRule(IServiceHandlerFactory ServiceHandlerFactory)
            : base(ServiceHandlerFactory)
        {
        }