public YearSheetRepositoryFactory(IOptions <YearSheetDetails> sheetDetails, ISheetApiService sheetApi)
 {
     _sheetDetails = sheetDetails.Value;
     _sheetApi     = sheetApi;
 }
Beispiel #2
0
 public YearSheetRepository(string sheetId, YearSheetDetails sheetDetails, ISheetApiService sheetApi)
     : base(sheetId, sheetApi)
 {
     _sheetApi     = sheetApi ?? throw new ArgumentNullException(nameof(sheetApi));
     _sheetDetails = sheetDetails;
 }