Пример #1
0
 public CampaignsController(CampaignsRepository campaignsRepo, CampaignsUsersRepository campaignsUsersRepo)
 {
     _campaignsRepo     = campaignsRepo;
     _campaignsUserRepo = campaignsUsersRepo;
 }
Пример #2
0
 public UsersController(UsersRepository userRepo, CampaignsRepository campaignsRepo)
 {
     _usersRepo     = userRepo;
     _campaignsRepo = campaignsRepo;
 }