public IActionResult ViewTopAgents() { var response = reportRepo.GetTopAgents(); if (response.Success) { return(View(response.Data)); } else { return(BadRequest(response.Message)); } }
public IActionResult TopAgent() { var data = _repoRepository.GetTopAgents(); return(View(data.Data)); }