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