public objRes Insert(busesDto Reg) { Reg.FechaMatricula = new DateTime(Reg.AƱoMatricula, Reg.MesMatricula, Reg.DiaMatricula); mBuses objBuses = new mBuses(); return objBuses.Insert(Reg); }
public objRes InsertGrupo(string NombreGrupo) { mBuses o = new mBuses(); return o.InsertGrupo(NombreGrupo); }
public List<string> GetsVial() { mBuses objBuses = new mBuses(); return objBuses.GetsVial(); }
public List<busesDto> Gets() { mBuses objBuses = new mBuses(); return objBuses.Gets(); }
public objRes Delete(string Placa) { mBuses objBuses = new mBuses(); return objBuses.Delete(Placa); }
public void SingIn() { mBuses lg = new mBuses(); char esperado = lg.SingIn("TLU 10","1234"); Assert.AreEqual('N',esperado); }