public ContractResponse Get() { RestAPITools apiTools = new RestAPITools(); return(apiTools.findContracts()); }
public ContractUpdateResponse Put(ContractRequest _request) { RestAPITools apiTools = new RestAPITools(); return(apiTools.updateContract(_request)); }
public ContractDeleteResponse Delete(int id) { RestAPITools apiTools = new RestAPITools(); return(apiTools.deleteContract(id)); }
public ContractInsertResponse Post(ContractRequest _request) { RestAPITools apiTools = new RestAPITools(); return(apiTools.createContract(_request)); }