예제 #1
0
 public TagService(ITagRepository tagRepository,
                   IDishTagRepository dishTagRepository,
                   IUserRepository userRepository)
 {
     this.tagRepository     = tagRepository;
     this.dishTagRepository = dishTagRepository;
     this.userRepository    = userRepository;
 }
예제 #2
0
 public DishService(IDishRepository dishRepository,
                    IDishTagRepository dishTagRepository,
                    ITagRepository tagRepository,
                    ITagService tagService)
 {
     this.dishRepository    = dishRepository;
     this.dishTagRepository = dishTagRepository;
     this.tagRepository     = tagRepository;
     this.tagService        = tagService;
 }