public async Task <string> GetCompanyCoownersHistoryAsync(string userID, string ogrn, string inn, string okpo) { using (var client = new ApiSkrinClient()) { var response = await client.GetCompanyCoownersHistoryAsync(userID, ogrn, inn, okpo); return(JsonConvert.SerializeObject(response)); } }
public async Task <string> GetGompanyReportAsync(string userID, string ogrn, string inn, string okpo, int isMain) { using (var client = new ApiSkrinClient()) { var response = await client.GetCompanyReportAsync(userID, ogrn, inn, okpo, isMain); return(JsonConvert.SerializeObject(response)); } }