public async Task <IActionResult> PatientRegistration(PatientViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View());
            }

            var patient = new Patient
            {
                Id     = model.Id,
                FName  = model.FName,
                LName  = model.LName,
                Age    = model.Age,
                BDate  = model.BDate,
                AreaId = model.AreaId,
                Status = PatientViewModel.GetStatus(model.Status),
            };

            var patientTracker = await _polyclinicContext.Patients.AddAsync(patient);

            if (patientTracker.State == EntityState.Added)
            {
                await _polyclinicContext.SaveChangesAsync();

                ViewBag.AddPatient = "New Patient Added.";
            }
            else
            {
                ViewBag.AddPatient = "New Patient Failed.";
            }

            ViewBag.Id = model.Id;
            return(View("PatientAddress"));
        }