public async Task ListTest() { List <Interns> result = await repo.GetList(); Assert.IsNotNull(result); }
// GET api/values public async Task <List <User> > GetAsync() { var resultlist = await repo.GetList(); //repo = new FireRepo<Country>(authentication, baseurl, $"{typeof(Country).Name.ToString()}/"); //repo.Delete(Guid.Parse("12208d50-1043-45dc-8cd6-983d12f5b272")); //country finded = await repo.find(guid.parse("0effe637-1001-4bdd-85a2-d8c8e5190302")); //console.writeline(finded.name); //return finded.Name.ToString(); //return new string[] { finded.Name.ToString() }; return(resultlist); }
public async Task <List <T> > GetListAsync() { return(await _repo.GetList()); }