CarbonFitness.BusinessLogic.Implementation.UserIngredientBusinessLogic.DeleteUserIngredient C# (CSharp) Method

DeleteUserIngredient() public method

public DeleteUserIngredient ( User user, int userIngredientId, System.DateTime date ) : void
user CarbonFitness.Data.Model.User
userIngredientId int
date System.DateTime
return void
        public void DeleteUserIngredient(User user, int userIngredientId, DateTime date)
        {
            userIngredientRepository.Delete(userIngredientRepository.Get(userIngredientId));
        }