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