public static List <HorariosDTO> GetByDia(string Dia) { List <HorariosDTO> ret = new List <HorariosDTO>(); List <HorariosBLL> turnos = HorarioDAL.GetByDia(Dia); return(ret); }
/// <summary> /// Allows to register a new Schedule /// </summary> /// <param name="u">Objec type Horario</param> public void registrarHorario(Horario u) { validarHorario(u); HorarioDAL m = new HorarioDAL(); m.registrarHorario(u); }
/// <summary> /// Allows to generate a list of all registered terminals /// </summary> /// <returns>list of all registered terminals</returns> public List <Terminal> cargarTerminales() { HorarioDAL m = new HorarioDAL(); List <Terminal> c = m.cargarTerminales(); return(c); }
/// <summary> /// Allows to generate a list of all registered routes /// </summary> /// <returns>list of all registered routes</returns> public List <Ruta> cargarRutas() { HorarioDAL m = new HorarioDAL(); List <Ruta> c = m.cargarRutas(); return(c); }
/// <summary> /// Allows to generate a list of all available schedules /// </summary> /// <returns>list of all available schedules</returns> public List <Horario> cargarHorarios() { HorarioDAL m = new HorarioDAL(); List <Horario> c = m.cargarHorarios(); return(c); }
/// <summary> /// Allows to edit a specific Schedule /// </summary> /// <param name="actual">Horario Code </param> /// <param name="u">Horario Edited</param> public void editarHorarios(string actual, Horario u) { HorarioDAL m = new HorarioDAL(); m.editarHorario(actual, u); }
/// <summary> /// Allows to eliminate a specific schedule /// </summary> /// <param name="nombre">Code of the Horario</param> public void eliminarHorario(string nombre) { HorarioDAL m = new HorarioDAL(); m.eliminarHorario(nombre); }
public HorarioBOL() { dal = new HorarioDAL(); }