/// <summary> /// Grabs all the machines using the database controller. /// </summary> /// <returns>Returns a list of machines if successful. If not then /// null is returned.</returns> public List <Machine> GetAllMachines() { try { List <Machine> Machines = m_databaseController.GetAllMachines(); return(Machines); } catch (Exception) { return(null); } }