public void LoadAddSpecializationPage() { IWindowManager manager = new WindowManager(); AddSpecializationViewModel add = new AddSpecializationViewModel(); manager.ShowDialog(add, null, null); }
public IActionResult AddSpecialization(AddSpecializationViewModel input) { var specialty = administratorService.AddSpecialization(input.Name, input.Description); return(Redirect("AllSpecializations")); } //OK