/// <summary> /// 构造函数 /// </summary> /// <param name="client">操作器</param> public EntityInterfaces(Client client) { Account = new AccountInterface(client); Comments = new CommentInterface(client); Common = new CommonInterface(client); Favorites = new FavoriteInterface(client); Friendships = new FriendshipInterface(client); Search = new SearchInterface(client); ShortUrl = new ShortUrlInterface(client); Statuses = new StatusInterface(client); Suggestions = new SuggestionInterface(client); Tags = new TagInterface(client); Trends = new TrendInterface(client); Users = new UserInterface(client); }
public CommentController(CommentInterface context) { _db = context; }