Пример #1
0
        public ContractResponse Get()
        {
            RestAPITools apiTools = new RestAPITools();

            return(apiTools.findContracts());
        }
Пример #2
0
        public ContractUpdateResponse Put(ContractRequest _request)
        {
            RestAPITools apiTools = new RestAPITools();

            return(apiTools.updateContract(_request));
        }
Пример #3
0
        public ContractDeleteResponse Delete(int id)
        {
            RestAPITools apiTools = new RestAPITools();

            return(apiTools.deleteContract(id));
        }
Пример #4
0
        public ContractInsertResponse Post(ContractRequest _request)
        {
            RestAPITools apiTools = new RestAPITools();

            return(apiTools.createContract(_request));
        }