public ActionResult Create(ViewBuyer vbuyer)
        {
            if (ModelState.IsValid)
            {
                BuyerAddress address = new BuyerAddress();
                address.Area  = areaRepo.Get(vbuyer.Area);
                address.City  = cityRepo.Get(vbuyer.City);
                address.Block = vbuyer.Block;
                address.House = vbuyer.House;
                address.Road  = vbuyer.House;

                BuyerLogin login = new BuyerLogin();
                login.Username = vbuyer.Username;
                login.Password = vbuyer.Password;

                BuyerApproval approval = new BuyerApproval();
                approval.Status = false;

                Buyer buyer = new Buyer();
                buyer.FirstName = vbuyer.FirstName;
                buyer.LastName  = vbuyer.LastName;
                buyer.Email     = vbuyer.Email;
                buyer.Phone     = vbuyer.Phone;
                buyer.Gender    = vbuyer.Gender;
                buyer.Address   = address;
                buyer.LoginData = login;
                buyer.Approval  = approval;

                buyerRepo.Insert(buyer);

                return(RedirectToAction("Index", "Home"));
            }

            return(View(vbuyer));
        }