Ejemplo n.º 1
0
        //private readonly IOrganizationService _orgcConfiguration;
        public UserController(
            ControllerBaseParamModel controllerBaseParamModel,
            IUserService service

            //IRightService rightService,
            //IOrganizationService orgcConfiguration
            ) : base(controllerBaseParamModel)
        {
            _service       = service;
            _configuration = Configuration;
        }
Ejemplo n.º 2
0
        public ThemeController(
            ControllerBaseParamModel controllerBaseParamModel,
            IThemeService service,
            IColorService Colservice

            ) : base(controllerBaseParamModel)
        {
            _service       = service;
            _Colservice    = Colservice;
            _configuration = Configuration;
        }
Ejemplo n.º 3
0
 protected ControllerBase(ControllerBaseParamModel controllerBaseParamModel)
 {
     Environment = controllerBaseParamModel.HostingEnvironment;
     UnitOfWork  = controllerBaseParamModel.UnitOfWork;
     _session    = controllerBaseParamModel.HttpContextAccessor.HttpContext.Session.GetComplexData <vmSession>("session");
     if (Configuration == null)
     {
         var builder = new ConfigurationBuilder()
                       .SetBasePath(Environment.ContentRootPath)
                       .AddJsonFile(ControllerStaticData.APPLICATION_JSON, true, true);
         Configuration = builder.Build();
     }
 }