public HttpResponseMessage UpdateRoomsDetailsAndSetting(List <RoomsDetailsView> listRoomsDetails) { try { RoomsServie roomsServie = new RoomsServie(); roomsServie.UpdateRoomsDetailsAndSetting(listRoomsDetails); return(Request.CreateResponse(HttpStatusCode.OK)); } catch { return(Request.CreateResponse(HttpStatusCode.NotModified)); } }