Example #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);
 }
Example #4
0
 //Delete
 public void DeleteDeveloper(KomodoDeveloper developerToDelete)
 {
     _listOfDevs.Remove(developerToDelete);
 }
Example #5
0
 //Create
 public void AddDeveloper(KomodoDeveloper devToAdd)
 {
     _listOfDevs.Add(devToAdd);
 }