public object GetUsers() { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } IUsers getusers = new UsersImpl(); List <SignUp> ud = getusers.GetUsers(); return(ud); }
public object GetUsers(int Id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } IUsers getusers = new UsersImpl(); object ud = getusers.GetUser(Id); return(ud); }
public object CheckLogin(TB_ECOMM_USERS login) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } IUsers loginint = new UsersImpl(); LoginResponse rs = loginint.CheckLogin(login); return(rs); }