public void AddUser(ApiUserClientResponseModel item) { if (!this.Users.Any(x => x.Id == item.Id)) { this.Users.Add(item); } }
public virtual ApiUserClientRequestModel MapClientResponseToRequest( ApiUserClientResponseModel response) { var request = new ApiUserClientRequestModel(); request.SetProperties( response.AboutMe, response.AccountId, response.Age, response.CreationDate, response.DisplayName, response.DownVote, response.EmailHash, response.LastAccessDate, response.Location, response.Reputation, response.UpVote, response.View, response.WebsiteUrl); return(request); }
public void SetUserIdNavigation(ApiUserClientResponseModel value) { this.UserIdNavigation = value; }
public void SetLastEditorUserIdNavigation(ApiUserClientResponseModel value) { this.LastEditorUserIdNavigation = value; }