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