예제 #1
0
 public TweetService(TweetRepository tr)
 {
     _tweetRepo = tr;
 }
예제 #2
0
 public TweetsController(CategoryRepository cr, TweetRepository tr, TweetService ts)
 {
     _catRepo = cr;
     _tweetRepo = tr;
     _tweetService = ts;
 }