コード例 #1
0
 public HttpResponseMessage UpdateUsers(ProfileDataUsersUpdateRequest model)
 {
     try
     {
         _profileDataService.UpdateUsers(model);
         SuccessResponse resp = new SuccessResponse();
         log.Info("ProfileData Update User Success");
         return(Request.CreateResponse(HttpStatusCode.OK, resp));
     }
     catch (Exception ex)
     {
         log.Error("ProfileData Update User Error", ex);
         return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex));
     }
 }