Beispiel #1
0
 public Ratings(IRepository<Person> personRepository, IRepository<PersonRating> personratingRepository, IRatingPeriod ratingPeriod, IRepository<TeamRatings> teamRatingRepository)
 {
     _teamRatingRepository = teamRatingRepository;
     _ratingPeriod = ratingPeriod;
     _ratingPeriod.GetCurrentPeriod();
     _personRepository = personRepository;
     _personratingRepository = personratingRepository;
 }
 public PersonRateController(IRepository<Person> personRepository,IRepository<Team> teamRepository,IRepository<PersonRating> personratingRepository, IRatings ratings, IRatingPeriod ratingPeriod,IRepository<Configuration> config)
 {
     _configRepository = config;
     _ratingPeriod = ratingPeriod;
     _ratingPeriod.GetCurrentPeriod();
     _personRepository = personRepository;
     _personratingRepository = personratingRepository;
     _teamRepository = teamRepository;
     _ratings = ratings;
 }