public ResultEntity <IEnumerable <ClientEntity> > GetAll(DBParamEntity dbParamEntity) { var validationResult = new ResultEntity <IEnumerable <ClientEntity> >(); using (var clientDA = new ClientDA()) { validationResult.Value = clientDA.GetAll(dbParamEntity); } return(validationResult); }