This commit is contained in:
parent
46f5c107b8
commit
fa34ed249b
233 changed files with 4000 additions and 1396 deletions
|
|
@ -1,22 +0,0 @@
|
|||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using Yavsc.Helpers;
|
||||
using Yavsc.Model.societe.com;
|
||||
|
||||
namespace Yavsc.Services
|
||||
{
|
||||
public class SIRENChecker
|
||||
{
|
||||
private CompanyInfoSettings _settings;
|
||||
public SIRENChecker(CompanyInfoSettings settings)
|
||||
{
|
||||
_settings = settings;
|
||||
}
|
||||
public async Task<CompanyInfoMessage> CheckAsync(string siren) {
|
||||
using (var web = new HttpClient())
|
||||
{
|
||||
return await web.CheckSiren(siren, _settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue