Пример #1
0
        private static async Task <string> GetQuestion(string companyName, int questionId)
        {
            var service = new InterviewApiService("http://localhost:5000");

            return(await service.GetQuestion(companyName, questionId));
        }
Пример #2
0
 private static async Task ProcessUser(InterviewModel state, string name, string email)
 {
     var service = new InterviewApiService("http://localhost:5000");
     await service.ProcessUser(state, name, email);
 }
Пример #3
0
        private static async Task <List <CompanyDto> > GetCompanies()
        {
            var service = new InterviewApiService("http://localhost:5000");

            return(await service.GetCompanies());
        }