public ActionResult MenuIncoming(WebUser user)
        {
            List <PayingItem> collection;

            try
            {
                collection = _payingItemService.GetListByTypeOfFlow(user, 1)
                             .ToList();
            }
            catch (ServiceException e)
            {
                throw new WebUiException($"Ошибка в контроллере {nameof(NavRightController)} в методе {nameof(MenuIncoming)}", e);
            }

            var budgetModel = BudgetModel(collection, 1);

            return(PartialView(budgetModel));
        }
 public IEnumerable <PayingItem> GetListByTypeOfFlow(IWorkingUser user, int typeOfFlow)
 {
     return(_payingItemService.GetListByTypeOfFlow(user, typeOfFlow));
 }