/// <summary> /// Constructor for Controller /// </summary> /// <param name="custcontext">Customer DB Context</param> /// <param name="loccontext">Location DB Context</param> /// <param name="ordcontext">Order DB Context</param> public PlaceOrderController ( dom.Interfaces.ICustomerRepo custcontext, dom.Interfaces.ILocationRepo loccontext, dom.Interfaces.IOrderRepo ordcontext ) { _custContext = custcontext ?? throw new ArgumentNullException(nameof(_custContext)); _locContext = loccontext ?? throw new ArgumentNullException(nameof(_locContext)); _ordContext = ordcontext ?? throw new ArgumentNullException(nameof(_ordContext)); }
/// <summary> /// The Construct for SearchLocation /// </summary> /// <param name="context"></param> public SearchLocationController(dom.Interfaces.ILocationRepo context) =>