public async Task GetInformatiiRegCult(int cui) { IRegCultAnafClient client = new AnafClient(); var response = await client.GetInformatiiRegCult(cui); response.Success.Should().BeFalse(); }
public async Task InregistreazaCerereInformatiiPlatitorTvaAsync() { IPlatitorTvaAnafClientAsync client = new AnafClient(); var response = await client.InregistreazaCerereInformatiiPlatitorTvaAsync(CuiTest); response.Cod.Should().Be(200); }
public async Task GetInformatiiPlatitorTvaSync(int cui) { IPlatitorTvaAnafClient client = new AnafClient(); var response = await client.GetInformatiiPlatitorTva(cui); response.Success.Should().BeTrue(); }
public async Task GetBilant(int cui) { const int an = 2019; IBilantAnafClient client = new AnafClient(); var response = await client.GetBilant(cui, an); response.Success.Should().BeTrue(); }
public async Task GetInformatiiPlatitorTvaAsync() { const string id = "31d97e61-4f51-4549-b7fc-482b7410f71f"; IPlatitorTvaAnafClientAsync client = new AnafClient(); var response = await client.GetInformatiiPlatitorTvaAsync(id); response.Success.Should().BeTrue(); }