예제 #1
0
        public async Task CheckRequestExist()
        {
            //Act
            var requests = await requestProvider.RequestsAsync();

            var request = requests.FirstOrDefault();

            var exist = await requestProvider.GetById(request.Id);

            Assert.NotNull(exist);
            Assert.IsType <Request>(exist);
        }
예제 #2
0
 public Task <Request> GetById(string id)
 {
     return(provider.GetById(id));
 }