/// <summary> /// Creates a new task for the specific logon /// </summary> /// <param name="taskId"></param> public void Create(Guid taskId) { // this is app-specific. // in the case of this shopping cart application, we want to // correlate logons with tasks. We use a lookup table to do so. // so here, we are given a TaskId...and we must correlate it with our Logon // create the business object to be used CartTaskBusinessObject bo = new CartTaskBusinessObject(); // cache task id given to us by UIPManager (or whatever entity) _taskId = taskId; // tell business object to create CartTask entry bo.CreateTask(_taskId, _userLogon); }