public ResultEntity <IEnumerable <PromoImageEntity> > GetAll(DBParamEntity dbParamEntity) { var validationResult = new ResultEntity <IEnumerable <PromoImageEntity> >(); using (var promoimageDA = new PromoImageDA()) { validationResult.Value = promoimageDA.GetAll(dbParamEntity); } return(validationResult); }