Ejemplo n.º 1
0
 public Entidades.Compania GetCompaniaById(int id)
 {
     try
     {
         NCompania ObjCompania = new NCompania();
         return(ObjCompania.GetCompaniaById(id));
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 public bool UpdateCompania(Entidades.Compania ObjCompania)
 {
     try
     {
         NCompania Obj = new NCompania();
         return(Obj.UpdateCompania(ObjCompania));
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
 public bool InactivarCompania(int id)
 {
     try
     {
         NCompania Obj = new NCompania();
         return(Obj.InactivarCompania(id));
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 4
0
 public List <Entidades.Compania> LstCompania()
 {
     try
     {
         NCompania ObjCompania = new NCompania();
         return(ObjCompania.LstCompania());
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 5
0
 public bool AddCompania(Entidades.Compania ObjCompania)
 {
     try
     {
         NCompania Obj = new NCompania();
         return(Obj.AddCompania(ObjCompania));
     }
     catch (Exception Ex)
     {
         throw;
     }
 }