public function updateProfile($user_id, $data_update) { return $result = UserFacade::updateProfile($user_id, $data_update); }
/** * Kiem tra thong tin dang nhap cua user * @param $user: bao gom cac du lieu ma nguoi dng dang ki: email, last name, first name, password * @return null: khong ton tai user. * array: id va user name **/ function authenticate($user) { return $result = UserFacade::checkLogin($user); }