Example #1
0
        public objRes Insert(busesDto Reg)
        {
            Reg.FechaMatricula = new DateTime(Reg.AƱoMatricula, Reg.MesMatricula, Reg.DiaMatricula);

            mBuses objBuses = new mBuses();
            return objBuses.Insert(Reg);
        }
Example #2
0
 public objRes InsertGrupo(string NombreGrupo)
 {
     mBuses o = new mBuses();
     return o.InsertGrupo(NombreGrupo);
 }
Example #3
0
 public List<string> GetsVial()
 {
     mBuses objBuses = new mBuses();
     return objBuses.GetsVial();
 }
Example #4
0
 public List<busesDto> Gets()
 {
     mBuses objBuses = new mBuses();
     return objBuses.Gets();
 }
Example #5
0
 public objRes Delete(string Placa)
 {
     mBuses objBuses = new mBuses();
     return objBuses.Delete(Placa);
 }
Example #6
0
 public void SingIn()
 {
     mBuses lg = new mBuses();
     char esperado = lg.SingIn("TLU 10","1234");
     Assert.AreEqual('N',esperado);
 }