Esempio n. 1
0
 public Department_Data()
 {
     DB = new List <Backend.Department>();
     DB.Add(new Backend.Department("defult", "0"));//defult department, only in use when removing departmetnt in exsisting object
     emartDataContext = new EmartDataContext();
 }
 public void Save(Award award)
 {
     award.Id = _random.Next();
     _awards.Add(award);
 }