// PUT api/<controller>/5
 public string Put(string id, [FromBody] Customer customer)
 {
     try
     {
         objcommon.UpdateCustomer(customer);
         return("Update SuccessFully.");
     }
     catch (Exception c)
     {
         return(c.Message.ToString());
     }
 }