public async Task <IActionResult> Dashboard() { var users = await _abpHplDb.ThongKeTheoThangUserAsync(); var infos = await _abpHplDb.DashboardTrungThongTinHrmAsync(); //var checkProcess = ServerStatus.ListProcesses(); var checkProcess = ServerStatus.GetProcessAcm(); var result = new[] { new { ThongKeTheoThangUser = users, TrungThongTinHrm = infos, ServerStatus = checkProcess } }; return(Ok(result)); }
public async Task <IActionResult> DashboardTrungThongTinHrm() { var result = await _abpHplDb.DashboardTrungThongTinHrmAsync(); return(Ok(result)); }