Exemple #1
0
 public HttpResponseMessage Update(AspNetUserModel data)
 {
     try
     {
         _iAspNetUser.Update(data);
     }
     catch (Exception ex)
     {
         Common.MyLogger.Error(ex.Message + ex.StackTrace + ex.InnerException.ToString());
         return(Request.CreateResponse(HttpStatusCode.BadRequest, "Error"));
     }
     return(Request.CreateResponse(HttpStatusCode.OK, "Data Saved"));
 }