Exemplo n.º 1
0
        public BaseController(IBaseServices baseServices)
        {
            this.LogService                  = baseServices.LogService;
            this.CacheService                = baseServices.CacheService;
            this.ConfigurationService        = baseServices.ConfigurationService;
            this.WebConfigAppSettingsService = baseServices.WebConfigAppSettingsService;
            this.MapperService               = baseServices.MapperService;

            if (LogService != null)
            {
                this.LogService.Name = GetType().FullName;
            }

            ViewBag.OrganizationLogo = ConfigurationService.GetConfigurationByKey(Constants.INSTANCE_ORGANIZATION_LOGO).Value;
            ViewBag.OrganizationUrl  = ConfigurationService.GetConfigurationByKey(Constants.INSTANCE_ORGANIZATION_URL).Value;
            ViewBag.EducationText    = ConfigurationService.GetConfigurationByKey(Constants.INSTANCE_EDU_USE_TEXT).Value;
        }
Exemplo n.º 2
0
 public HomeController(IBaseServices baseService) : base(baseService)
 {
 }
Exemplo n.º 3
0
 public ManageController(IBaseServices baseService) : base(baseService)
 {
 }
Exemplo n.º 4
0
 public LogController(DataFlowDbContext dataFlowDbContext, IBaseServices baseService) : base(baseService)
 {
     this.dataFlowDbContext = dataFlowDbContext;
 }
 public DepartmentsController(IBaseServices <Department> baseServices) : base(baseServices)
 {
     _baseServices = baseServices;
 }
Exemplo n.º 6
0
 public EntityController(IBaseServices <MISAEntity> baseServices)
 {
     _baseServices = baseServices;
 }
Exemplo n.º 7
0
 public TagServices(IBaseServices <Tag> tagBaseServices)
 {
     _tagBaseServices = tagBaseServices;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FeedRoundUpServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public FeedRoundUpServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 9
0
 public ProductControllerTest()
 {
     _baseService       = new BaseServiceFake();
     _productController = new ProductsController(_context);
 }
Exemplo n.º 10
0
 public BaseController(IBaseServices _baseServices)
 {
     this.baseServices = _baseServices;
 }
 public BaseAuthorizationGrantedObject(IBaseServices <BaseAuthorizationGrantedObject> services) : base(services)
 {
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountHoldersService"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public AccountHoldersService(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransactionFeedServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public TransactionFeedServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 14
0
 public CategoryServices(IBaseServices <Category> categoryBaseServices)
 {
     _categoryBaseServices = categoryBaseServices;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RecurringCardPaymentsServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public RecurringCardPaymentsServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SavingsGoalsServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public SavingsGoalsServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 17
0
 public UlogaController(IBaseServices <MUloga, object> baseService) : base(baseService)
 {
 }
Exemplo n.º 18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddressesService"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public AddressesService(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 19
0
 public AgentController(DataFlowDbContext dataFlowDbContext, AgentService agentService, IBaseServices baseService) : base(baseService)
 {
     this.dataFlowDbContext = dataFlowDbContext;
     this.agentService      = agentService;
     this.EncryptionKey     = WebConfigAppSettingsService.GetSetting <string>(Constants.AppSettingEncryptionKey);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProfileImagesServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public ProfileImagesServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebhooksServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public WebhooksServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
 public JointAccountsServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 23
0
 public BaseObject(IBaseServices<BaseObject> services) : base(services) { }
Exemplo n.º 24
0
 public DataMapperController(DataFlowDbContext dataFlowDbContext, EdFiMetadataProcessor edFiMetadataProcessor,
                             IBaseServices baseService) : base(baseService)
 {
     this.dataFlowDbContext     = dataFlowDbContext;
     this.edFiMetadataProcessor = edFiMetadataProcessor;
 }
Exemplo n.º 25
0
 public TipUposlenikaController(IBaseServices <MTipUposlenika, object> baseService) : base(baseService)
 {
 }
Exemplo n.º 26
0
 public CacheController(IBaseServices baseServices) : base(baseServices)
 {
 }
Exemplo n.º 27
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayeesServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public PayeesServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
 public SoleTradersServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }
Exemplo n.º 29
0
 public ManageController(ApplicationUserManager userManager, ApplicationSignInManager signInManager, IBaseServices baseService) : base(baseService)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="APIUserIdentitiesServices"/> class.
 /// </summary>
 /// <param name="clientFactory">The client factory.</param>
 /// <param name="baseServices">The base services.</param>
 public APIUserIdentitiesServices(IHttpClientFactory clientFactory, IBaseServices baseServices)
 {
     _clientFactory = clientFactory;
     _baseServices  = baseServices;
 }