コード例 #1
0
        public bool Put(string Email, [FromBody] string Passwd)
        {
            PeopleAccess people = new PeopleAccess();

            return(people.UpdatePasswd(Email, Passwd));
        }
コード例 #2
0
        public People GetUserInfor(int Userid)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.GetUserInfor(Userid));
        }
コード例 #3
0
        public int Post([FromBody] People people)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.PostnewUser(people));
        }
コード例 #4
0
        public IActionResult Get(string Email, string Passwd)
        {
            PeopleAccess people = new PeopleAccess();

            return(Ok(people.GetName(Email, Passwd)));
        }
コード例 #5
0
        public bool PutIntro([FromBody] NU nU)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.PutIntro(nU));
        }
コード例 #6
0
        public List <People> GetallUser(string text)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.GetallUser(text));
        }
コード例 #7
0
        public List <People> Getbyname(string text)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.Getbyname(text));
        }
コード例 #8
0
        public string GetlabelP(int labelid, string labelname)
        {
            PeopleAccess peopleAccess = new PeopleAccess();

            return(peopleAccess.GetlabelP(labelid));
        }