/// <summary> /// Grabs all the clients using the database controller. /// </summary> /// <returns>Returns a list of clients if successful. If not then /// null is returned.</returns> public List <Client> GetAllClients() { try { List <string> clientNames = new List <string>(); List <Client> clients = m_databaseController.GetAllClients(); foreach (var client in clients) { clientNames.Add(client.Name); } return(clients); } catch (Exception) { return(null); } }