public async Task <HttpResponseMessage> Save(AspNetUserModel data) { try { await _iAspNetUser.SaveAsync(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")); }