public void UpdateUserSecurityAttribute(int?userId, int?attributeTypeId, string attributeValue, System.DateTime?attributeActivationDate, System.DateTime?attributeExpirationDate) { using (var db = new DBAMPContext()) { int result; result = db.ApiUserSecurityAttributeUpdate(userId, attributeTypeId, attributeValue, attributeActivationDate, attributeExpirationDate); } }