public void SetLastUser(string username) { db.DeleteAll<LastLoggedInUser>(); var last = new LastLoggedInUser { LastUser = username }; db.Insert(last); }
public void SetLastUser(string username, string costCentreApplicationId) { database.DeleteAll<LastLoggedInUser>(); var last = new LastLoggedInUser { Username = username, CostCentreApplicationId = costCentreApplicationId }; database.Insert(last); }