public virtual ApiPasswordRequestModel MapResponseToRequest( ApiPasswordResponseModel response) { var request = new ApiPasswordRequestModel(); request.SetProperties( response.ModifiedDate, response.PasswordHash, response.PasswordSalt, response.Rowguid); return(request); }
public virtual ApiPasswordResponseModel MapRequestToResponse( int businessEntityID, ApiPasswordRequestModel request) { var response = new ApiPasswordResponseModel(); response.SetProperties(businessEntityID, request.ModifiedDate, request.PasswordHash, request.PasswordSalt, request.Rowguid); return(response); }