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