public IHttpActionResult Get() { var result = _repository.All().Select(e => ExpenseViewModel.ToViewModel(e)); return(Ok(result)); }