case 4108
This commit is contained in:
@@ -118,7 +118,7 @@ namespace AyaNova.Api.Controllers
|
||||
NotifySubscriptionBiz biz = NotifySubscriptionBiz.GetBiz(ct, HttpContext);
|
||||
if (!Authorized.HasModifyRole(HttpContext.Items, biz.BizType))
|
||||
return StatusCode(403, new ApiNotAuthorizedResponse());
|
||||
var o = await biz.PutAsync(updatedObject);
|
||||
var o = await biz.PutAsync(updatedObject);
|
||||
if (o == null)
|
||||
{
|
||||
if (biz.Errors.Exists(z => z.Code == ApiErrorCode.CONCURRENCY_CONFLICT))
|
||||
@@ -190,7 +190,7 @@ namespace AyaNova.Api.Controllers
|
||||
return await ct.WorkOrderStatus.AsNoTracking().Where(x => x.Id == s.IdValue).Select(x => x.Name).FirstOrDefaultAsync();
|
||||
case NotifyEventType.QuoteStatusAge:
|
||||
case NotifyEventType.QuoteStatusChange:
|
||||
throw new System.NotImplementedException("TODO: quote status events in notifysubscriptioncontroller::getStatusName");
|
||||
return await ct.QuoteStatus.AsNoTracking().Where(x => x.Id == s.IdValue).Select(x => x.Name).FirstOrDefaultAsync();
|
||||
}
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user