public RecipesScheduled(IRecipesScheduled dal) { _dal = dal ?? throw new ArgumentNullException(nameof(dal)); }
public RecipesScheduledController(IRecipesScheduled recipesScheduled, IMapper mapper) { _recipesScheduled = recipesScheduled ?? throw new ArgumentNullException(nameof(recipesScheduled)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }