internal static void ChangeState(int taskId) { var headers = new Dictionary <string, string>(); headers["X-accessToken"] = AccessToken; HttpRequester.Put(BaseServicesUrl + "tasks/" + taskId, headers); }
internal static bool LogoutUser() { var headers = new Dictionary <string, string>(); headers["X-accessToken"] = AccessToken; var isLogoutSuccessful = HttpRequester.Put(BaseServicesUrl + "users/logout", headers); return(isLogoutSuccessful); }