public List <Models.BedModel> Readbeds(string filepath)
        {
            List <string>          details = _csvHandler.ReadDetailsFromFile(filepath);
            List <Models.BedModel> allBeds = new List <Models.BedModel>();

            foreach (var line in details)
            {
                allBeds.Add(FormatStringToBedObject(line.Split(',')));
            }
            return(allBeds);
        }
        //public List<Models.PatientModel> patients = new List<Models.PatientModel>();
        public List <Models.PatientModel> ReadPatients(string filepath)
        {
            List <string> details = _csvHandler.ReadDetailsFromFile(filepath);
            List <Models.PatientModel> allPatients = new List <Models.PatientModel>();

            foreach (var line in details)
            {
                allPatients.Add(FormatStringToPatientObject(line.Split(',')));
            }
            return(allPatients);
        }