public HttpResponseMessage UpdateProfile(ProfileDataProfileUpdateRequest model) { try { _profileDataService.UpdateProfile(model); SuccessResponse resp = new SuccessResponse(); log.Info("ProfileData Update Profile Success"); return(Request.CreateResponse(HttpStatusCode.OK, resp)); } catch (Exception ex) { log.Error("ProfileData Update Profile Error", ex); return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ex)); } }