예제 #1
0
        public IHttpActionResult Get()
        {
            var result = _repository.All().Select(e => ExpenseViewModel.ToViewModel(e));

            return(Ok(result));
        }