Exemplo n.º 1
0
        public async Task <IActionResult> Manage()
        {
            var response = await _pingbackService.GetReceivedPingbacksAsync();

            if (response.IsSuccess)
            {
                return(View(response.Item));
            }

            return(ServerError());
        }
Exemplo n.º 2
0
        public async Task <IActionResult> Manage()
        {
            var response = await _pingbackService.GetReceivedPingbacksAsync();

            return(response.IsSuccess ? View("~/Views/Admin/ManagePingback.cshtml", response.Item) : ServerError());
        }
Exemplo n.º 3
0
        public async Task <IActionResult> Manage()
        {
            var data = await _pingbackService.GetReceivedPingbacksAsync();

            return(View(data));
        }