Beispiel #1
0
        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);
        }
Beispiel #2
0
 public void GenerateGuarantorDeposit(GenBody genBody)
 {
     _leaseService.GenerateGuarantorDeposit(genBody.id);
 }
Beispiel #3
0
 public void GenerateContract(GenBody genBody)
 {
     _leaseService.GenerateContract(genBody.id);
 }