public ActionResult SaveRecord(Applicant applicant)
        {
            if (!string.IsNullOrWhiteSpace(SelectedStateAbbreviation))
            {
                applicant.State = SelectedStateAbbreviation;
            }
            var errors = ModelState.Where(x => x.Value.Errors.Count > 0).Select(x => new { x.Key, x.Value.Errors }).ToArray();

            if (applicant.Id != 0)
            {
                applicantService.UpdateApplicant(applicant);
            }
            else
            {
                applicantService.SaveApplicant(applicant);
            }
            if (!string.IsNullOrWhiteSpace(_filename))
            {
                applicantService.PostResume(_filename, applicant);
            }
            return(RedirectToAction("Index", "Applicant"));
        }