This commit is contained in:
@@ -101,6 +101,8 @@ namespace AyaNova.Biz
|
||||
//
|
||||
internal async Task<NotifySubscription> PutAsync(NotifySubscription putObject)
|
||||
{
|
||||
//TODO: Must remove all prior events and replace them
|
||||
|
||||
NotifySubscription dbObject = await ct.NotifySubscription.SingleOrDefaultAsync(z => z.Id == putObject.Id);
|
||||
if (dbObject == null)
|
||||
{
|
||||
@@ -187,7 +189,7 @@ namespace AyaNova.Biz
|
||||
//todo: validate subscription is valid
|
||||
//perhaps check if customer type user doesn't have non customer notification etc
|
||||
|
||||
|
||||
|
||||
//NOTE: In DB schema only name and serial are not nullable
|
||||
|
||||
//run validation and biz rules
|
||||
|
||||
Reference in New Issue
Block a user