Beispiel #1
0
        public async Task GetInformatiiRegCult(int cui)
        {
            IRegCultAnafClient client = new AnafClient();

            var response = await client.GetInformatiiRegCult(cui);

            response.Success.Should().BeFalse();
        }
Beispiel #2
0
        public async Task InregistreazaCerereInformatiiPlatitorTvaAsync()
        {
            IPlatitorTvaAnafClientAsync client = new AnafClient();

            var response = await client.InregistreazaCerereInformatiiPlatitorTvaAsync(CuiTest);

            response.Cod.Should().Be(200);
        }
Beispiel #3
0
        public async Task GetInformatiiPlatitorTvaSync(int cui)
        {
            IPlatitorTvaAnafClient client = new AnafClient();

            var response = await client.GetInformatiiPlatitorTva(cui);

            response.Success.Should().BeTrue();
        }
Beispiel #4
0
        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();
        }
Beispiel #5
0
        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();
        }