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)); }
public bool Delete(BE_Propiedades.BE_Users user) { var bdc = new BDConnection(); string query = "EXEC [DeleteUser] @User = N'" + user.UserName + "'"; return(bdc.Insert(query)); }