Exemple #1
0
        public string Get(string setting)
        {
            if (setting == "init")
            {
                _patentRepository.RemoveAll();
                _patentRepository.Add(new Patient()
                {
                    Id          = "1",
                    FullName    = "Mohammad Bitar",
                    PhoneNumber = "05313611777",
                    Notes       = "Something wrong with me!!!"
                });
                _patentRepository.Add(new Patient()
                {
                    Id          = "2",
                    FullName    = "Salim Bitar",
                    PhoneNumber = "05313611888",
                    Notes       = "Something wrong with me again!!!"
                });

                return("Done");
            }

            return("Unknown");
        }
Exemple #2
0
 public void DeleteAll()
 {
     _patentRepository.RemoveAll();
 }