public bool Put(string Email, [FromBody] string Passwd) { PeopleAccess people = new PeopleAccess(); return(people.UpdatePasswd(Email, Passwd)); }
public People GetUserInfor(int Userid) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.GetUserInfor(Userid)); }
public int Post([FromBody] People people) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.PostnewUser(people)); }
public IActionResult Get(string Email, string Passwd) { PeopleAccess people = new PeopleAccess(); return(Ok(people.GetName(Email, Passwd))); }
public bool PutIntro([FromBody] NU nU) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.PutIntro(nU)); }
public List <People> GetallUser(string text) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.GetallUser(text)); }
public List <People> Getbyname(string text) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.Getbyname(text)); }
public string GetlabelP(int labelid, string labelname) { PeopleAccess peopleAccess = new PeopleAccess(); return(peopleAccess.GetlabelP(labelid)); }