public bool TweetYesterdaysSummary() { string summary = new RunLogBLL().GetYesterdaysSummary(); if (summary != null) { Tweet(summary); } return(true); }
public void ProcessQueuedOrders() { List <RunLog> queue = new RunLogBLL().ListQueuedOrders(); foreach (RunLog order in queue) { // See if rider needs to be assigned // decide on bike / car / hooleygan based on number of boxes, time and final destination // Choose rider from on shift resources // Request rider // Set rider id on order and save } }