Beispiel #1
0
        /// <summary>
        /// Loads the order notes.
        /// </summary>
        private void LoadOrderNotes()
        {
            OrderNoteCollection orderNoteCollection = new OrderNoteController().FetchByOrderId(orderId);

            rptrNotes.DataSource = orderNoteCollection;
            rptrNotes.DataBind();
        }
 public OrderNoteControllerTests()
 {
     _orderNoteService = A.Fake<IOrderNoteService>();
     _orderService = A.Fake<IOrderService>();
     _orderNoteController = new OrderNoteController(_orderNoteService, _orderService);
 }
Beispiel #3
0
 public OrderNoteControllerTests()
 {
     _orderNoteService    = A.Fake <IOrderNoteService>();
     _orderService        = A.Fake <IOrderService>();
     _orderNoteController = new OrderNoteController(_orderNoteService, _orderService);
 }