Example #1
0
 public static void AddUser(String username)
 {
     DatabaseHandler.InsertUser(username);
 }
Example #2
0
        public static void Prolongate(int userId, int dayNum)
        {
            var curTime = DatabaseHandler.GetExpireTime(userId);

            DatabaseHandler.UpdateExpireTime(userId, curTime.AddDays(dayNum));
        }