Exemple #1
0
 public TotalDataVm <DashboardEnum> GetTotalData([FromBody] TotalDataParamQuery totalDataParamQuery)
 {
     return(_dashboardService.GetTotals(totalDataParamQuery.DashboardTypes.ToDashboardEnumTypes <DashboardEnum>(),
                                        totalDataParamQuery.Period.ToPeriod(),
                                        totalDataParamQuery.IdMasterAccounts,
                                        totalDataParamQuery.IdTradeAccounts));
 }
Exemple #2
0
 public List <TotalAccountListModel> GetListData([FromBody] TotalDataParamQuery totalDataParamQuery)
 {
     return(_totalAccountService.GetListData(
                totalDataParamQuery.Period.ToPeriod(),
                totalDataParamQuery.IdMasterAccounts,
                totalDataParamQuery.IdTradeAccounts));
 }
Exemple #3
0
 public TotalAccountListModel FilterData([FromBody] TotalDataParamQuery totalDataParamQuery)
 {
     return(_totalAccountService.FilterListData(totalDataParamQuery.Type,
                                                totalDataParamQuery.SearchExpression,
                                                totalDataParamQuery.IdMasterAccounts,
                                                totalDataParamQuery.IdTradeAccounts));
 }
Exemple #4
0
 public List <TotalAccountTableModel> GetTableData([FromBody] TotalDataParamQuery totalDataParamQuery)
 {
     return(_totalAccountService.GetTableData(totalDataParamQuery.IdMasterAccounts,
                                              totalDataParamQuery.IdTradeAccounts));
 }