private bool IsDuplicateName(string _name) { var q = Administrators.Count(x => x.Name == _name); return(q > 1); }
//Delete private bool CanExecuteDelete(object obj) { return(Administrators.Count(x => x.Selected) > 0); }
private bool IsDuplicateName(string _name) { var q = Administrators.Count(x => x.Name == _name); return(q > 1); }
//Delete private bool CanExecuteDelete(object obj) { return(Administrators.Count(x => x.Selected) > 0); }