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