// DELETE api/<controller>/5 public string Delete(int id) { try { objcommon.DeleteCustomer(id); return("Delete Successfully."); } catch (Exception e) { return(e.Message.ToString()); } }
// DELETE api/<controller>/5 public string Delete(int id) { try { objcommon.DeleteCustomer(id); return("Delete Successfully."); } catch (Exception e) { return(e.Message.ToString()); } }