Exemplo n.º 1
0
        public async Task DeleteAsync()
        {
            var handler = new RestaurantDataAccess(this.Context, Mapper());
            var entity  = RestaurantTestData.RestaurantDTO;
            await handler.SaveAsync(entity);

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

            Assert.IsTrue(response);
        }