예제 #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));
        }