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