public TagService(ITagRepository tagRepository, IDishTagRepository dishTagRepository, IUserRepository userRepository) { this.tagRepository = tagRepository; this.dishTagRepository = dishTagRepository; this.userRepository = userRepository; }
public DishService(IDishRepository dishRepository, IDishTagRepository dishTagRepository, ITagRepository tagRepository, ITagService tagService) { this.dishRepository = dishRepository; this.dishTagRepository = dishTagRepository; this.tagRepository = tagRepository; this.tagService = tagService; }