public HttpResponseMessage RetailerChangePass(tblRetailer retailer) { try { var changepass = db.proc_Changepass(retailer.retaileremail, retailer.retailerpassword); return(Request.CreateResponse(HttpStatusCode.OK, "valid")); } catch (Exception e) { return(Request.CreateResponse(HttpStatusCode.OK, "invalid")); } }