public int SubmitUserOrder(OrderMasterBO orderBO) { OrderMaster order = new OrderMaster(); ObjectMapper.Map(orderBO, order); return(WeddingRepository.SubmitUserOrder(order)); }
public OrderMasterBO GetOrderByID(int OrderID) { OrderMasterBO order = new OrderMasterBO(); ObjectMapper.Map(WeddingRepository.GetOrderByID(OrderID), order); return(order); }