public IActionResult GetUserByID(int id)
 {
     return(Ok(userBUS.GetUserByID(id)));
 }
示例#2
0
        public static User GetUserByID(int id)

        {
            return(UserBUS.GetUserByID(id));
        }