Esempio n. 1
0
        public IHttpActionResult DeleteMarca(int id)
        {
            Marca mrc = new Marca(id);

            try
            {
                mrc.Delete();
                mrc.SaveChanges();
            }
            catch (System.Exception)
            {
                throw;
            }
            return(Ok());
        }