public HttpResponseMessage GetDeleteById(int id) { var formatter = RequestFormat.JsonFormaterString(); return(Request.CreateResponse(HttpStatusCode.OK, _dGateway.DeleteInsert("DELETE FROM tbl_PATIENT_REGISTRATION WHERE Id=" + id + ""), formatter)); }