public ActionResult Default(Pacient pacient)
 {
     if (pacient.FirstName != String.Empty && pacient.LastName != String.Empty)
     {
         ThePacient.pacient.FirstName = pacient.FirstName;
         ThePacient.pacient.LastName = pacient.LastName;
         return RedirectToAction("Specializations");
     }
     else
     {
         return Default();
     }
 }
 public void GreetingTest()
 {
     Pacient thePacient = new Pacient("FirstName", "LastName");
     Assert.AreEqual(registry.Greeting(thePacient), "Hello,FirstName LastName!");
 }
		partial void DeletePacients(Pacient instance);
		partial void UpdatePacients(Pacient instance);
		partial void InsertPacients(Pacient instance);
 public void AddPacient(Pacient pacient)
 {
     context.Pacients.InsertOnSubmit(pacient);
     context.SubmitChanges();
 }
 partial void DeletePacients(Pacient instance);
 partial void UpdatePacients(Pacient instance);
 partial void InsertPacients(Pacient instance);