Пример #1
0
 public HomeController(
     IAutomapperService mapper,
     ITrialsDataService trialsData)
 {
     this.mapper     = mapper;
     this.trialsData = trialsData;
 }
 public ClubsController(
     IDataService <BaseClub> clubsData,
     IAutomapperService mapper)
 {
     this.clubsData = clubsData;
     this.mapper    = mapper;
 }
 public HorsesController(
     IDataService <TrialHorse> horsesData,
     IDataService <BaseClub> clubsData,
     IAutomapperService mapper)
 {
     this.horsesData = horsesData;
     this.clubsData  = clubsData;
     this.mapper     = mapper;
 }
 public RidersController(
     IDataService <TrialRider> ridersData,
     IDataService <BaseClub> clubsData,
     IAutomapperService mapper)
 {
     this.ridersData = ridersData;
     this.clubsData  = clubsData;
     this.mapper     = mapper;
 }
Пример #5
0
 public TrialsController(
     ITrialsBusinessService trialsBusiness,
     ITrialsDataService trialsData,
     IAutomapperService mapper
     )
 {
     this.trialsBusiness = trialsBusiness;
     this.trialsData     = trialsData;
     this.mapper         = mapper;
 }
Пример #6
0
 public CompetitorsController(
     ITrialCompetitorBusinessService competitorBusiness,
     IDataService <TrialHorse> horsesData,
     IDataService <TrialRider> ridersData,
     IDataService <Trial> trialsData,
     IAutomapperService mapper)
 {
     this.competitorBusiness = competitorBusiness;
     this.horsesData         = horsesData;
     this.ridersData         = ridersData;
     this.trialsData         = trialsData;
     this.mapper             = mapper;
 }