public OrderManager(IOrderAccessor orderAccessor) { _orderAccessor = orderAccessor; }
public OrderManager() { _orderAccessor = new OrderAccessor(); }
public OrderController(IOrderAccessor orders) { _orders = orders ?? throw new ArgumentException(nameof(orders)); }
public UserManager(IUserAccessor userAccessor, IOrderAccessor orderAccessor) { _userEngine = new UserEngine(userAccessor, orderAccessor); }
/// <summary> /// NAME: Jesse Tomash /// DATE: 2/7/2020 /// /// Approver: Brandyn T. Coverdill /// Approver: Dalton Reierson /// /// This is the default manager constructor that receives the fake orderaccessor /// </summary> /// <remarks> /// UPDATED BY: /// UPDATE DATE: /// WHAT WAS CHANGED: /// </remarks> public OrderManager() { _orderAccessor = new DataAccessLayer.OrderAccessor(); }
public UserEngine(IUserAccessor userAccessor, IOrderAccessor orderAccessor) { _userAccessor = userAccessor; _orderAccessor = orderAccessor; }