Exemplo n.º 1
0
 public IActionResult CreateResponse()
 {
     if (!DomainNotification.HasNotifications())
     {
         return(Ok(EnvelopResult.Ok()));
     }
     return(BadRequest(EnvelopResult.Fail(DomainNotification.Notify())));
 }