//Searching using Customer Name and DoB public List <PolicyEndorsement> SearchByName(string cName, DateTime dOB) { try { return(searchDAL.SearchByName(cName, dOB)); } catch (Exception ex) { throw ex; } }