/// <summary> /// Insert orderdetails /// </summary> /// <param name="request"></param> /// <returns></returns> public InsertOrderResponse InsertOrder(InsertOrderRequest request) { OrderDetailsService service = new OrderDetailsService(); InsertOrderResponse response = new InsertOrderResponse(); try { response.OrderBE = service.InsertOrder(request.OrderBE); } catch (Exception ex) { response.Message = ex.Message; response.IsFailed = true; } return(response); }