public void ChangePassword(string tenantName, string username, string oldPassword, string newPassword) { if (string.IsNullOrEmpty(tenantName)) { throw new ArgumentNullException("tenantName"); } if (string.IsNullOrEmpty(username)) { throw new ArgumentNullException("username"); } if (string.IsNullOrEmpty(oldPassword)) { throw new ArgumentNullException("oldPassword"); } if (string.IsNullOrEmpty(newPassword)) { throw new ArgumentNullException("newPassword"); } AuthenticationLogic.ChangePassword(tenantName, username, oldPassword, newPassword); }