public IActionResult ViewTopAgents()
        {
            var response = reportRepo.GetTopAgents();

            if (response.Success)
            {
                return(View(response.Data));
            }
            else
            {
                return(BadRequest(response.Message));
            }
        }
예제 #2
0
        public IActionResult TopAgent()
        {
            var data = _repoRepository.GetTopAgents();

            return(View(data.Data));
        }