public async Task <ActionResult <IEnumerable <object> > > GetCommonDebts(int year, int month, string businessUnits, string departments) { var businessUnitsIds = GetArray <int>(businessUnits); var departmentsIds = GetArray <long>(departments); var result = await _debtService.GetCommonDebtsAsync(year, month, businessUnitsIds, departmentsIds); //if (!commonDebts.Any()) //{ // return NotFound(); //} return(result); }