Ejemplo n.º 1
0
        public ActionResult DeleteFitting(int id)
        {
            try
            {
                AgenteFittings agente = new AgenteFittings();
                agente.DeleteFitting(id, User.Identity.Name);

                return(new EmptyResult());
            }
            catch (Exception ex)
            {
                return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest, ex.Message));
            }
        }