示例#1
0
        public async Task GetAsync()
        {
            var handler = new RestaurantDataAccess(this.Context, Mapper());
            var entity  = RestaurantTestData.RestaurantDTO;
            await handler.SaveAsync(entity);

            var response = await handler.GetAsync(entity.Id);

            Assert.IsTrue(response != null);
        }