public virtual bool Exists(string authId, string fldUserId) { try { return (Can(authId, (int)PermissionEnum.Client_Users_Exists) ? UsersLogic.ExistsNow((int)Convert.ChangeType(fldUserId, typeof(int))) : false); //cant } catch (Exception ex) { #if DEBUG Debug.WriteLine("------------------------------"); Debug.WriteLine("------ UsersServiceBase.Exists ERROR ------"); Debug.WriteLine("------------------------------"); Debug.WriteLine(ex.Message); Debug.WriteLine(ex.ToString()); Debug.WriteLine("------------------------------"); #endif throw; } }