public async Task AddAsync(double amount, string unit, int recipeId, int ingredientId)
 {
     AmountIngredient amountIngredient = new AmountIngredient()
     {
         Amount = amount, Unit = unit, RecipeId = recipeId, IngredientId = ingredientId
     };
     await UnitOfWork.Repository.AddAsync(amountIngredient);
 }
        public async Task DeleteAsync(int amountIngredientId)
        {
            AmountIngredient amountIngredient = await UnitOfWork.Repository.GetByIdAsync <AmountIngredient>(amountIngredientId);

            await UnitOfWork.Repository.DeleteAsync(amountIngredient);
        }