Beispiel #1
0
 public void AddUser(ApiUserClientResponseModel item)
 {
     if (!this.Users.Any(x => x.UserId == item.UserId))
     {
         this.Users.Add(item);
     }
 }
Beispiel #2
0
        public virtual ApiUserClientRequestModel MapClientResponseToRequest(
            ApiUserClientResponseModel response)
        {
            var request = new ApiUserClientRequestModel();

            request.SetProperties(
                response.BioImgUrl,
                response.Birthday,
                response.ContentDescription,
                response.Email,
                response.FullName,
                response.HeaderImgUrl,
                response.Interest,
                response.LocationLocationId,
                response.Password,
                response.PhoneNumber,
                response.Privacy,
                response.Username,
                response.Website);
            return(request);
        }
 public void SetUserUserIdNavigation(ApiUserClientResponseModel value)
 {
     this.UserUserIdNavigation = value;
 }
 public void SetFollowingUserIdNavigation(ApiUserClientResponseModel value)
 {
     this.FollowingUserIdNavigation = value;
 }