Example #1
0
        public IActionResult Update(Contract_Rq rq)
        {
            UpdateContractService contractService = new UpdateContractService(_dbContext);
            Contract_Rs           rs = contractService.Execute(rq);

            return(Ok(rs.ResponseCode));
        }
Example #2
0
        public async Task <IActionResult> Create(Contract_Rq rq)
        {
            CreateContractService contractService = new CreateContractService(_dbContext);
            Contract_Rs           rs = await contractService.Execute(rq);

            return(Ok(rs.ResponseCode));
        }