示例#1
0
        public IHttpActionResult OmitirMatriz(ParametrosDTO oParamatros)
        {
            try
            {
                MatrizBl oMatriz = new MatrizBl();

                oMatriz.OmitirMatriz(int.Parse(oParamatros.Parametro1));

                return(Ok(new { success = true }));
            }
            catch (Exception e)
            {
                return(Ok(new { success = false, e.Message }));
            }
        }
示例#2
0
        public IHttpActionResult Guardar(MatrizDTO oMatrizDetalle)
        {
            try
            {
                MatrizBl oMatriz = new MatrizBl();

                oMatriz.Guardar(oMatrizDetalle);

                return(Ok(new { success = true }));
            }
            catch (Exception e)
            {
                return(Ok(new { success = false, e.Message }));
            }
        }