public IActionResult Create([Bind("Id,Name,Address,PhoneNumber,Email")] Applicant applicant) { if (ModelState.IsValid) { _applicantRepository.AddNewApplicant(applicant); return(RedirectToAction(nameof(Index))); } return(View(applicant)); }