protected void Page_Load(object sender, EventArgs e)
{
spContext = Session["SPContext"] as SharePointContext;
listItemID = GetListItemIDFromQueryParameter();
// Read from SharePoint
string employeeName = GetLocalEmployeeName();
// Write to remote database
AddLocalEmployeeToCorpDB(employeeName);
// Write to SharePoint
SetLocalEmployeeSyncStatus();
// Go back to the Local Employees page
Response.Redirect(spContext.SPHostUrl.ToString() + "Lists/Local%20Employees/AllItems.aspx", true);
}