public async Task <IActionResult> GetInstallers() { var response = await _installerService.GetInstallers(); if (response.Success) { return(Ok(response.Results)); } else { return(BadRequest(response.ErrorMessage)); } }
public async Task <IActionResult> Index() { var response = await _installerService.GetInstallers(); return(View(response.Results)); }