public ActionResult ExecuteRegistrarSearch(RegistrarSearchDataModel registrarSearchDataModel)
        {
            try
            {
                registrarSearchDataModel.Registrars = _registrarService.List().Where(w => (w.Name.Contains(registrarSearchDataModel.SearchText) || w.Telephone.Contains(registrarSearchDataModel.SearchText)) && !w.Notified).ToList();
                List <VaccinationTypesDataModel> vaccinationTypes = _vaccinationTypeServicesClass.list();
                vaccinationTypes.Add(new VaccinationTypesDataModel {
                    Id = 0, Name = "Please Select"
                });
                SelectList VaccinationTypes = new SelectList(vaccinationTypes, "Id", "Name", "0");

                ViewBag.VaccinationTypes = VaccinationTypes;
                return(View("RegistrarSearch", registrarSearchDataModel));
            }
            catch
            {
                return(View());
            }
        }
 // GET: RegistrarsRepositories
 public IActionResult Index()
 {
     return(View(_RegistrarsService.List()));
 }