Esempio n. 1
0
 public WebApiResult Delete([FromRoute] int id)
 {
     try
     {
         CallContext.AntiforgeryTokenValidate(true);
         return(Helper.OK(() => BikeService.Delete(id)));
     }
     catch (Exception ex)
     {
         return(Helper.HandleException(ex));
     }
 }