Example #1
0
        public ActionResult <User> GetbyId(int id)
        {
            User tmp = userStorage.FindUser(id);

            if (!userStorage.ContainsUser(id))
            {
                return(NotFound());
            }
            else
            {
                return(tmp);
            }
        }