Beispiel #1
0
        static void Main(string[] args)
        {
            PacientServise     ps = new PacientServise();
            MedOrgService      ms = new MedOrgService();
            UserService        us = new UserService();
            ServiceZakreplenie sz = new ServiceZakreplenie();

            us.Menu();
            //us.Menu2();
            ////Есть пациенты

            ////Есть мед организации


            //string message = "";
            //sz.Zakreplenie(ref ms, ref ps, out string message);

            //ms.Save();
            //ps.Save();

            //us.Generate();
            // us.Registration();
            //us.LoginService();

            //Console.WriteLine("Print");
            // us.PrintList();
            //Console.WriteLine("WriteToFileWithLogAndPass");
            //us.WriteToFileWithLogAndPass();
            //us.Save();
            //Console.WriteLine("ReadFromFileWithLogAndPass");
            //us.ReadFromFileWithLogAndPass();
            //us.Load();
        }
        static void Main(string[] args)
        {
            //Есть пациенты
            PacientServise ps = new PacientServise();

            //Есть мед организации
            MedOrgService ms = new MedOrgService();


            ServiceZakreplenie sz      = new ServiceZakreplenie();
            string             message = "";

            sz.Zakreplenie(ref ms, ref ps, out message);
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            PacientServise ps = new PacientServise();

            MedOrgService ms = new MedOrgService();


            ServiceZakreplenie sz      = new ServiceZakreplenie();
            string             message = "";

            sz.Zakreplenie(ref ms, ref ps, out message);

            ms.Save();
            ps.Save();
        }