This commit is contained in:
@@ -57,6 +57,7 @@ namespace AyaNova.Biz
|
||||
//put
|
||||
internal async Task<GlobalOpsNotificationSettings> PutAsync(GlobalOpsNotificationSettings putObject)
|
||||
{
|
||||
//todo: replace with new put methodology
|
||||
var dbObject = await ct.GlobalOpsNotificationSettings.FirstOrDefaultAsync(m => m.Id == 1);
|
||||
if (dbObject == null)
|
||||
throw new System.Exception("GlobalOpsNotificationSettings::PutAsync -> Settings object not found in database!!");
|
||||
|
||||
Reference in New Issue
Block a user