protected void Cale_SelectionChanged(object sender, EventArgs e) { string dia; dia = Cale.SelectedDate.ToShortDateString(); List <HorariosDTO> turnos = HorariosService.GetAll(dia); Cmboxhs.DataSource = turnos; Cmboxhs.DataBind(); }
public MainViewModel() { _horarioService = new HorariosService(); PreencherLista(); }
public HorariosViewModel() { _horarioService = new HorariosService(); }