Exemple #1
0
        public static void UpdateNurses(List <Nurser> updatedNurseList)
        {
            string fullpath = Miscellaneous.GetNurseXMLFullPath();

            try
            {
                XMLHelper.DeleteXMLFile(fullpath);
                XMLHelper.CreateXmlFile(fullpath, "data", AppConfiguration.GetNurserXMLRootNode());
                XMLHelper.CreateNurseNodes(Miscellaneous.GetNurseXMLFullPath(), AppConfiguration.GetNurserXMLRootNode(), updatedNurseList);
                //AddSchedulerNodes(fullpath, updatedNurseList);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }