public HttpResponseMessage RetailerDetails(string remail)
 {
     try
     {
         var retailerdetails = db.proc_DisplayRetailerDetails(remail).ToList();
         if (retailerdetails == null)
         {
             return(Request.CreateErrorResponse(HttpStatusCode.OK, "Invalid"));
         }
         else
         {
             return(Request.CreateResponse(HttpStatusCode.OK, retailerdetails));
         }
     }
     catch (Exception e)
     {
         return(Request.CreateResponse(HttpStatusCode.OK, "invalid"));
     }
 }