Ejemplo n.º 1
0
 public async Task <IActionResult> Delete(string faqId)
 {
     _logger.LogInformation(faqId);
     if (await _faqService.DeleteAsync(faqId, Constants.EntityKey.FAQ_ID))
     {
         return(RedirectToAction("Index"));
     }
     return(View("Error"));
 }