Beispiel #1
0
        private void PreparaParaNovoGarcom()
        {
            var novoId = dalGarcons.GetAll().Max(x => x.Id) + 1;

            idgarcom.Text = novoId.ToString().Trim();
            nome.Text     = string.Empty;
        }
Beispiel #2
0
 public IEnumerable <Garcom> Get()
 {
     return(garcomDAL.GetAll());
 }
Beispiel #3
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     lvGarcons.ItemsSource = garcomDAL.GetAll();
 }
Beispiel #4
0
 public GarconsListPage()
 {
     InitializeComponent();
     lvGarcons.ItemsSource = dalGarcom.GetAll();
 }