public JsonResult GenerateRO(int ShowId, int ClassId) { DogClasses dogClasses = new DogClasses(); var clsDetails = new ShowClasses(ClassId); if (TeamPairsManager.isMultiDog(clsDetails.EntryType)) { dogClasses.GenerateROsForTeams(ShowId, ClassId); } else { dogClasses.GenerateROs(ShowId, ClassId); } return Json(new { Status = 0 }); }