コード例 #1
0
 public FriendController(
     ApplicationDbContext dbContext,
     IFriendUsecase FriendUsecase,
     IFriendPresenter FriendPresenter
     )
 {
     this.dbContext       = dbContext;
     this.FriendUsecase   = FriendUsecase;
     this.FriendPresenter = FriendPresenter;
 }
コード例 #2
0
 public GameController(
     ApplicationDbContext dbContext,
     IGameUsecase gameUsecase,
     IFriendPresenter gamePresenter
     )
 {
     this.dbContext     = dbContext;
     this.gameUsecase   = gameUsecase;
     this.gamePresenter = gamePresenter;
 }
コード例 #3
0
 public FriendUsecase(IFriendRepository repository, IFriendPresenter presenter)
 {
     this.repository = repository;
     this.presenter  = presenter;
 }