This commit is contained in:
2020-12-10 20:24:35 +00:00
parent cd40e477bd
commit 31aa66dcc8

View File

@@ -142,7 +142,8 @@ namespace AyaNova.Biz
try
{
NotifySubscription dbObject = await ct.NotifySubscription.SingleOrDefaultAsync(z => z.Id == id);
if (dbObject == null){
if (dbObject == null)
{
AddError(ApiErrorCode.NOT_FOUND);
return false;
}
@@ -232,6 +233,7 @@ namespace AyaNova.Biz
}
}
/////////////////////////////////////////////////////////////////////