public ActionResult Create()
        {
            var empty = new RelationalPersonViewModel();
            var data  = empty.ToVM();

            return(View(data));
        }
 public ActionResult Create(RelationalPersonViewModel relationalPerson)
 {
     if (!ModelState.IsValid)
     {
         ErrorNotification("Kayıt Eklenemedi!");
         return(RedirectToAction("Create"));
     }
     _relationalPersonService.Add(new RelationalPerson
     {
         //Alanlar buraya yazılacak
         //Örn:BrandName = brand.BrandName,
     });
     SuccessNotification("Kayıt Eklendi.");
     return(RedirectToAction("RelationalPersonIndex"));
 }