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); } }
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); } }