private async void generateDoc(string documentID) { GenBody genBody = new GenBody(); genBody.id = documentID; Dictionary <string, object> genBodyDic = Utils.ToDictionnary(genBody); string genBodyJSON = Utils.ToJson(genBodyDic); await Utils.Post("http://localhost:5000/api/leases/GenerateGuarantorDeposit", genBodyJSON); }
public void GenerateGuarantorDeposit(GenBody genBody) { _leaseService.GenerateGuarantorDeposit(genBody.id); }
public void GenerateContract(GenBody genBody) { _leaseService.GenerateContract(genBody.id); }