示例#1
0
        public async Task ListTest()
        {
            List <Interns> result
                = await repo.GetList();

            Assert.IsNotNull(result);
        }
示例#2
0
        // 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);
        }
示例#3
0
 public async Task <List <T> > GetListAsync()
 {
     return(await _repo.GetList());
 }