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

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

            return(await views.GetAll());
        }