Esempio n. 1
0
        public void UpdateAward(Common.Award award, int id)
        {
            int index = awards.FindIndex(item => item.ID == id);

            awards[index].Title       = award.Title;
            awards[index].Description = award.Description;
        }
Esempio n. 2
0
 public void AddAward(Common.Award award)
 {
     if (award == null)
     {
         throw new ArgumentException("award");
     }
     awards.Add(award);
 }
Esempio n. 3
0
 public void DeleteAward(Common.Award award)
 {
     awards.Remove(award);
 }
Esempio n. 4
0
 public void DeleteAward(Common.Award award)
 {
     throw new NotImplementedException();
 }