public IHttpActionResult DeleteMarca(int id) { Marca mrc = new Marca(id); try { mrc.Delete(); mrc.SaveChanges(); } catch (System.Exception) { throw; } return(Ok()); }