예제 #1
0
 // GET: Warnings
 public async Task <IActionResult> Index()
 {
     return(View(_mapper.Map <IEnumerable <WarningViewModel> >(await _warningService.GetAll())));
 }