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