コード例 #1
0
        public async Task <List <Credito> > GetListaSolicitudeCredito()
        {
            List <Credito> ent = new List <Credito>();

            try
            {
                var lista = creditoService.ListarCreditos(connString);
                return(await lista);
            }
            catch (Exception e)
            {
                ent = null;
                Console.Write("Error" + e.ToString());
            }
            return(ent);
        }