Beispiel #1
0
 public MasterDataController(IMasterDataOperations masterData, IMapper mapper)
 {
     _masterData = masterData;
     _mapper     = mapper;
 }
Beispiel #2
0
 public MasterDataCacheOperations(IDistributedCache cache, IMasterDataOperations masterData)
 {
     _cache      = cache;
     _masterData = masterData;
 }
Beispiel #3
0
 public MasterDataController(IMasterDataOperations masterData, IMapper mapper, IMasterDataCacheOperations masterDataCache)
 {
     _masterData      = masterData;
     _mapper          = mapper;
     _masterDataCache = masterDataCache;
 }
 public MasterDataCacheOperations(IDistributedCache distributedCache, IConfiguration configuration)
 {
     this._distributedCache     = distributedCache;
     this._masterDataOperations = new MasterDataOperations(new UnitOfWork(configuration["IdentityAzureTable:IdentityConfiguration:StorageConnectionString"]));
 }
Beispiel #5
0
 public HomeController(ILogger <HomeController> logger, IOptions <ApplicationSettings> settings, IMasterDataOperations masterDataOperations)
 {
     _logger               = logger;
     _settings             = settings.Value;
     _masterDataOperations = masterDataOperations ?? throw new ArgumentNullException();
 }
 public MasterDataController(IMasterDataOperations masterDataOperations, IMapper mapper)
 {
     this._masterDataOperations = masterDataOperations;
     this._mapper = mapper;
 }