示例#1
0
 public GetDashboardResultDto Execute(GetDashboardDto dto)
 {
     return(new GetDashboardResultDto
     {
         Object = new Dashboard
         {
             ExpenseReport = getAverageExpenseReport.Execute(new GetAverageExpenseReportDto {
             }).Object,
             OnlineUsers = getOnlineUsersReport.Execute(new GetOnlineUsersReportDto {
             }).Object,
             Parties = getPartiesLocation.Execute(new GetPartiesLocationDto {
             }).Object,
             UsersInformation = getUserInformationReport.Execute(new GetUserInformationReportDto {
             }).Object
         },
         Status = true
     });
 }
示例#2
0
 public ActionResult <GetDashboardResultDto> GetDashboard([FromQuery] GetDashboardDto dto)
 {
     return(getDashboard.Execute(dto));
 }