C# Class ArmedCards.BusinessLogic.AppServices.User.Update

Implementation of Base.IUpdate
Inheritance: Base.IUpdate
Mostrar archivo Open project: kwmcrell/ArmedCards

Public Methods

Method Description
Execute ( Int32 userId, String newDisplayName, String oldDisplayName ) : Entities.OAMembership

Update a user's display name

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

Update a user's display name

Update ( ArmedCards.BusinessLogic.DomainServices.User update ) : System

Method Details

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

Execute() public method

Update a user's display name
public Execute ( Int32 userId, String pictureUrl ) : System.Threading.Tasks.Task
userId System.Int32 The ID of the user changing their picture Url
pictureUrl String
return System.Threading.Tasks.Task

Update() public method

public Update ( ArmedCards.BusinessLogic.DomainServices.User update ) : System
update ArmedCards.BusinessLogic.DomainServices.User
return System