public IHttpActionResult Put(RoomType tipo) { tipo.State = "Enabled"; var typeManager = new RoomTypeManagement(); typeManager.Update(tipo); apiResponse = new ApiResponse(); return(Ok(apiResponse)); }