Exemple #1
0
        public ActionResult <IEnumerable <Team> > Get()
        {
            IEnumerable <Team> results = _tr.GetALL();

            if (results == null)
            {
                return(BadRequest());
            }
            return(Ok(results));
        }