Example #1
0
 public IActionResult MeasureUnits(int?minAmount, int?maxAmount)
 {
     if (minAmount.HasValue && maxAmount.HasValue)
     {
         List <MeasureUnitReportRow> results = reportsRepository.GetMeasureUnitsReport(minAmount.Value, maxAmount.Value);
         return(View(results));
     }
     return(View());
 }