Пример #1
0
        public async Task <IActionResult> Manage()
        {
            var response = await _pingbackService.GetReceivedPingbacksAsync();

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

            return(ServerError());
        }
Пример #2
0
        public async Task <IActionResult> Manage()
        {
            var response = await _pingbackService.GetReceivedPingbacksAsync();

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

            return(View(data));
        }