src/main/java/com/qa/IMS/controller/OrderController.java
@Override
	public Order create() {
		LOGGER.info("Please enter a customer ID");
		Long id = utils.getLong();
		LOGGER.info("Please enter a order date (in the fromat YYYY-MM-DD)");
		String date = utils.getString();
		Order order = orderDAO.create(new Order(id, date));
		LOGGER.info("order created");
		return order;
	}
/**
	 * Creates a order by taking in user input
	 */
Creates a order by taking in user input
Creates a order by taking in user input
@Override
	public Order create() {
		LOGGER.info("Please enter a customer ID");
		Long id = utils.getLong();
		LOGGER.info("Please enter a order date (in the fromat YYYY-MM-DD)");
		String date = utils.getString();
		Order order = orderDAO.create(new Order(id, date));
		LOGGER.info("order created");
		return order;
	}
@ Override public Order create ( ) { LOGGER . info ( "Please enter a customer ID" ) ; Long id = utils . getLong ( ) ; LOGGER . info ( "Please enter a order date (in the fromat YYYY-MM-DD)" ) ; String date = utils . getString ( ) ; Order order = orderDAO . create ( new Order ( id , date ) ) ; LOGGER . info ( "order created" ) ; return order ; }
Creates a order by taking in user input
Creates a order by taking in user input