public async Task <IEnumerable <Expense> > GetExpensesByConditionAsync(Expression <Func <Expense, bool> > expression) { try { return(await _expenseRepository.GetExpensesByCondition(expression)); } catch (SqlException e) { Logger.Instance.Error(e); return(null); } catch (Exception ex) { Logger.Instance.Error(ex); return(null); } }