ArmedCards.BusinessLogic.AppServices.User.Update.Execute C# (CSharp) Method

Execute() public method

Update a user's display name
public Execute ( Int32 userId, String newDisplayName, String oldDisplayName ) : Entities.OAMembership
userId System.Int32 The ID of the user changing their display name
newDisplayName String The new display name
oldDisplayName String The old display name
return Entities.OAMembership
		public Entities.OAMembership Execute(Int32 userId, String newDisplayName, String oldDisplayName)
		{
			Entities.Filters.User.UpdateDisplayName filter = new Entities.Filters.User.UpdateDisplayName();
			filter.UserId = userId;
			filter.NewDisplayName = newDisplayName;
			filter.OldDisplayName = oldDisplayName;

			return _update.Execute(filter);
		}

Same methods

Update::Execute ( Int32 userId, String pictureUrl ) : System.Threading.Tasks.Task