예제 #1
0
        public void LoadAddSpecializationPage()
        {
            IWindowManager             manager = new WindowManager();
            AddSpecializationViewModel add     = new AddSpecializationViewModel();

            manager.ShowDialog(add, null, null);
        }
예제 #2
0
        public IActionResult AddSpecialization(AddSpecializationViewModel input)
        {
            var specialty = administratorService.AddSpecialization(input.Name, input.Description);

            return(Redirect("AllSpecializations"));
        } //OK