public IHttpActionResult EditStatusById(int id) { ActorService actorService = new ActorService(); var m_status = actorService.EditStatusById(id); if (m_status != -1) { return(Ok(m_status)); } return(BadRequest("không thể thay đổi trạng thái của diễn viên này!")); }