public async Task ReturnFalse_when_NotValidIngredientIDAsync()
        {
            //Arrange
            var options = Utils.GetOptions("ReturnFalse_when_NotValidIngredientIDAsync");
            var entity  = new Ingredient
            {
                Name        = "Lime",
                IsAlcoholic = false
            };

            var mockMapper = new Mock <IIngredientMapper>();

            using (var arrangeContext = new BCcontext(options))
            {
                arrangeContext.Ingredients.Add(entity);
                arrangeContext.SaveChanges();
            }

            //Act & Assert
            using (var context = new BCcontext(options))
            {
                var sut = new IngredientsService(context, mockMapper.Object);

                var result = await sut.DeleteAsync(Utils.MySampleGuid());

                Assert.IsFalse(result);
            }
        }
        public async Task <IActionResult> Delete(string id)
        {
            var dietType = await _ingredientsService.GetByIdAsync(id);

            if (dietType == null)
            {
                return(NotFound());
            }
            await _ingredientsService.DeleteAsync(id);

            return(NoContent());
        }