예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FeedService"/> class.
 /// </summary>
 public FeedService(FeedContext feedContext)
 {
     _feedContext = feedContext;
     _httpClient = new HttpClient();
 }
예제 #2
0
 public HomeController(HomeContext context, FeedContext contextFeed)
 {
     _context = context;
     _contextFeed = contextFeed;
 }