//Searching using Customer Id public List <PolicyEndorsement> SearchByCustomerId(int custId) { try { return(searchDAL.SearchByCustomerId(custId)); } catch (Exception ex) { throw ex; } }