public HttpResponseMessage UpSertPersonal(HttpRequestMessage request, Personal personal) { Personal UpdateEntity = null; personal.IsDeleted = false; UpdateEntity = personalRepo.AddWithGetObj(personal); return(request.CreateResponse <Personal>(HttpStatusCode.OK, UpdateEntity)); }