public Fox GetFoxByName(string name) { CurrentFox = ListOfFoxes.Find(fox => fox.Name.Equals(name)); return(CurrentFox); }
public void SetLoggedFox(string name) { LoggedFox = ListOfFoxes.First(f => name == f.Name); }
public void AddFoxToDatabase(Fox fox) { ListOfFoxes.Add(fox); }
public Fox GetFoxByName(string name) { return(ListOfFoxes.Find(f => f.Name == name)); }
public List <Fox> AddFox(string name) { ListOfFoxes.Add(new Fox(name)); return(ListOfFoxes); }
public Fox SetCurrentFox(string name) { CurrentFox = ListOfFoxes.First(fox => name == fox.Name); return(CurrentFox); }
public Fox FindFoxByName(string name) { CurrentFox = ListOfFoxes.Find(f => f.Name == name); return(CurrentFox); }
public List <Fox> AddFox(Fox fox) { ListOfFoxes.Add(fox); return(ListOfFoxes); }