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 })); } }
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 })); } }