示例#1
0
        public async Task <IActionResult> GetDepartmentInfo([FromBody] DepartmentInfo departmentInfo)
        {
            try {
                var result = await BrokerController.GetDepartmentInfoFromNext(departmentInfo);

                var response = Ok(new { result });
                return(response);
            } catch (Exception err) {
                Console.WriteLine(err);
                return(null);
            }
        }
示例#2
0
        public async Task <IActionResult> GetEstateInfo([FromBody] UpdatedOrder order)
        {
            try {
                var result = await BrokerController.GetEstateInfoFromNext(order);

                var response = Ok(new { result });
                return(response);
            } catch (Exception err) {
                Console.WriteLine(err);
                return(null);
            }
        }