public IActionResult CreatedResponse(string url = "")
 {
     if (!DomainNotification.HasNotifications())
     {
         return(Created(url, EnvelopResult.Ok()));
     }
     return(BadRequest(EnvelopResult.Fail(DomainNotification.Notify())));
 }
 public IActionResult CreateResponse()
 {
     if (!DomainNotification.HasNotifications())
     {
         return(Ok(EnvelopResult.Ok()));
     }
     return(BadRequest(EnvelopResult.Fail(DomainNotification.Notify())));
 }