This commit is contained in:
2020-12-29 23:20:39 +00:00
parent 68b55860f2
commit c5daf3340b
6 changed files with 77 additions and 6 deletions

View File

@@ -108,6 +108,14 @@ namespace AyaNova.Biz
return await ct.Reminder.AnyAsync(z => z.Id == id);
case AyaType.Review:
return await ct.Review.AnyAsync(z => z.Id == id);
case AyaType.ServiceRate:
return await ct.ServiceRate.AnyAsync(z => z.Id == id);
case AyaType.TravelRate:
return await ct.TravelRate.AnyAsync(z => z.Id == id);
case AyaType.TaxCode:
return await ct.TaxCode.AnyAsync(z => z.Id == id);
case AyaType.ServiceBank:
return await ct.ServiceBank.AnyAsync(z => z.Id == id);
default:
throw new System.NotSupportedException($"AyaNova.Biz.BizObjectExistsInDatabase::ExistsAsync type {objectType.ToString()} is not supported");
}