Exemplo n.º 1
0
 public CreateTaloneraPageViewModel(INavigationService navigationService, IApiService apiService) : base(navigationService)
 {
     LoadUser();
     Title              = "Crear Talonera";
     _apiService        = apiService;
     _navigationService = navigationService;
     Talonera           = new TaloneraResponse();
 }
Exemplo n.º 2
0
        public List <TaloneraResponse> ToTalonerasResponse(List <TaloneraEntity> taloneras)
        {
            if (taloneras == null)
            {
                return(null);
            }

            List <TaloneraResponse> talonerasResponse = new List <TaloneraResponse>();
            TaloneraResponse        talonera          = new TaloneraResponse();

            for (int i = 0; i < taloneras.Count; i++)
            {
                talonerasResponse.Add(ToTaloneraResponse(taloneras[i]));

                talonera = new TaloneraResponse();

                Debug.WriteLine("LLEGUE");
            }

            return(talonerasResponse);
        }