Example #1
0
        public ActionResult GetUserById(System.Guid id)
        {
            var user = PodUserData.GetUserById(id);

            return(this.Ok(user));
        }
Example #2
0
 public ActionResult AddUser([FromBody] PodUser podUser)
 {
     PodUserData.AddUser(podUser);
     return(this.Ok());
 }
Example #3
0
        public ActionResult GetAllUsers()
        {
            var users = PodUserData.GetUsers();

            return(this.Ok(users));
        }