Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
            }
        }