Beispiel #1
0
        public async Task ShouldDeleteProductLine()
        {
            var guid = Guid.NewGuid();
            await _productLineService.Delete(guid);

            await _productLineRepository.Received(1)
            .Delete(guid);
        }
        public async Task <IActionResult> Delete([FromRoute] Guid id)
        {
            await _productLineService.Delete(id);

            return(Accepted());
        }