public async void SetNewSource(string url, int catId) { //RssDataManager.AddSource(3, url, cat) // todo cette fonction pue la merde serieux var service = new WebApiServiceManager(); var result = await service.AddSourceAsync(LoginManager.UserId, catId, url); }
public void TestGetTokenLogin() { var service = new WebApiServiceManager(); var result = service.GetTokenLoginAsync("*****@*****.**", "]"); result.Wait(); //Assert.IsTrue(result.Result); }