Exemplo n.º 1
0
 public IHttpActionResult Post(ReviewViewModel model)
 {
     try
     {
         _apmServices.AddReview(model);
         return(Ok("Add Review Success"));
     }
     catch (Exception ex)
     {
         ErrorSignal.FromCurrentContext().Raise(ex);
         return(BadRequest("Add Review Failed"));
     }
 }