private static async Task <string> GetQuestion(string companyName, int questionId) { var service = new InterviewApiService("http://localhost:5000"); return(await service.GetQuestion(companyName, questionId)); }
private static async Task ProcessUser(InterviewModel state, string name, string email) { var service = new InterviewApiService("http://localhost:5000"); await service.ProcessUser(state, name, email); }
private static async Task <List <CompanyDto> > GetCompanies() { var service = new InterviewApiService("http://localhost:5000"); return(await service.GetCompanies()); }