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

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

            Assert.IsTrue(response);
        }