private void UpdateDisplayMain() { JSAdd("Javascript/Main/main.js"); adminuser a = new adminuser(); AutoCompleteDisplayUpdate(); }
public static adminuser GetCurrentUser() { adminuser userFound = (from useritem in Application.Current.CreateDataWorkspace().mydatabase.adminusers where useritem.LoginID == Application.Current.User.Name select useritem).SingleOrDefault(); if (userFound != null) return userFound; else return null; }
public static adminuser GetCurrentUser() { adminuser userFound = (from useritem in Application.Current.CreateDataWorkspace().basecampcoreData.adminusers where useritem.LoginID == Application.Current.User.Name select useritem).SingleOrDefault(); if (userFound != null) { return(userFound); } else { return(null); } }