public int UsernameToUserId(string username) { Models.Database db = new Models.Database(); string query = "SELECT UserId FROM UserAccount WHERE Username = '******'"; return(db.UsernameToUserId(query)); }
public int UsernameToUserId(string username) { Models.Database db = new Models.Database(); string query = "SELECT UserId FROM UserAccount WHERE Username = '******'"; return(db.UsernameToUserId(query)); }