public async Task GivenCollectionPeriodTolerancesAreConfiguredIsForCollectionPeriodAndAcademicYear(string isTolerancesConfigured) { if (isTolerancesConfigured == "NOT") { await dataFactory.RemoveCollectionPeriodToleranceModel(CollectionPeriod, AcademicYear); } else { await dataFactory.CreateCollectionPeriodToleranceModel(CollectionPeriod, AcademicYear, 99, 100); } }