Пример #1
0
 public async Task <IHttpActionResult> GetAll()
 {
     return(Ok <TeamCollectionModel>(await services.GetAll()));
 }
Пример #2
0
        public async Task <ActionResult> Index()
        {
            TeamCollectionModel model = await teamService.GetAll();

            return(View(model));
        }