Пример #1
0
        public async Task <viewModel.EntityView> Get([FromRoute] int entityId)
        {
            var view = new views.EntityViews();

            return(await view.Get(entityId));
        }
Пример #2
0
        public async Task <List <viewModel.EntityView> > All()
        {
            var views = new views.EntityViews();

            return(await views.GetAll());
        }