Esempio n. 1
0
        public AwardsService()
        {
            _awardsStorage = new AwardsStorage();

            foreach (var award in _awardsStorage.GetAllAwards())
            {
                _listOfAwards.Add(award.EntityToDomain());
            }
        }
Esempio n. 2
0
 public AwardsManager(IAwardsStorage awardsStorage, ISaver awardsSaver)
 {
     AwardsStorage = awardsStorage;
     AwardsSaver   = awardsSaver;
 }