public async void BuscarLinesCollectionAsync()
 {
     try
     {
         LinesCollection = await lineRepository.GetAllAsync();
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemplo n.º 2
0
        public async void LoadLineAction(string IdAction)
        {
            try
            {
                IsBusy = true;

                Action = await actionRepository.GetAsync(IdAction);

                Line = await lineRepository.GetAsync(Action.IdLine);

                LinesCollection = await lineRepository.GetAllAsync();

                Day = DaysCollection[0];

                IsBusy = false;
            }
            catch (Exception)
            {
                throw;
            }
        }
 public async void GetLinesAsync()
 {
     LinesCollection = await lineRepository.GetAllAsync();
 }