Пример #1
0
        public bool Insert(BE_Propiedades.BE_Users user)
        {
            var    bdc   = new BDConnection();
            string query = "EXEC [InsertUser] @UserN = N'" + user.UserName + "', @Pass = N'" + user.PassWord + "'";

            return(bdc.Insert(query));
        }
Пример #2
0
        public bool Delete(BE_Propiedades.BE_Users user)
        {
            var    bdc   = new BDConnection();
            string query = "EXEC [DeleteUser] @User = N'" + user.UserName + "'";

            return(bdc.Insert(query));
        }