예제 #1
0
 public static List <Formulario> GetFormulariosFiltro(Formulario pFormulario)
 {
     try
     {
         return(FormularioRepositorio.GetFormularios(pFormulario));
     }
     catch (Exception ex) { throw ex; }
 }
예제 #2
0
 public static Formulario SaveFormulario(Formulario pFormulario)
 {
     try
     {
         return(pFormulario.FormularioID > 0 ? FormularioRepositorio.Update(pFormulario) : FormularioRepositorio.Insert(pFormulario, true));
     }
     catch (Exception ex) { throw ex; }
 }
예제 #3
0
 public static void DeleteFormulario(int pFormularioID)
 {
     try
     {
         var vFormulario = FormularioRepositorio.Get(pFormularioID);
         FormularioRepositorio.Delete(vFormulario);
     }
     catch (Exception ex) { throw ex; }
 }
예제 #4
0
 public static List <Formulario> GetFormularios()
 {
     return(FormularioRepositorio.Get());
 }