示例#1
0
        //Update
        public void UpdateDeveloper(int id, KomodoDeveloper newDev)
        {
            KomodoDeveloper oldDev = GetDeveloperByID(id);

            oldDev.DeveloperID = newDev.DeveloperID;
            oldDev.LastName    = newDev.LastName;
            oldDev.HasAccess   = newDev.HasAccess;
        }
 public void DeleteDeveloper(KomodoDeveloper developer)
 {
     Developers.Remove(developer);
 }
 public void AddDeveloper(KomodoDeveloper developer)
 {
     Developers.Add(developer);
 }
示例#4
0
 //Delete
 public void DeleteDeveloper(KomodoDeveloper developerToDelete)
 {
     _listOfDevs.Remove(developerToDelete);
 }
示例#5
0
 //Create
 public void AddDeveloper(KomodoDeveloper devToAdd)
 {
     _listOfDevs.Add(devToAdd);
 }