Beispiel #1
0
 public bool Add(Applicant item)
 {
     if (_applicantRepository.GetSingleById(item.Id) == null && !_applicantRepository.Exists(m => m.Name.Trim().ToUpper() == item.Name.ToUpper()))
     {
         item.CreatedDate = DateTime.Now;
         _applicantRepository.Add(item);
     }
     return(true);
 }