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); }
public Task <Request> GetById(string id) { return(provider.GetById(id)); }