Example #1
0
 public void AddOrganization(ApiOrganizationClientResponseModel item)
 {
     if (!this.Organizations.Any(x => x.Id == item.Id))
     {
         this.Organizations.Add(item);
     }
 }
Example #2
0
        public virtual ApiOrganizationClientRequestModel MapClientResponseToRequest(
            ApiOrganizationClientResponseModel response)
        {
            var request = new ApiOrganizationClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Example #3
0
        public virtual ApiOrganizationClientResponseModel MapClientRequestToResponse(
            int id,
            ApiOrganizationClientRequestModel request)
        {
            var response = new ApiOrganizationClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
 public void SetOrganizationIdNavigation(ApiOrganizationClientResponseModel value)
 {
     this.OrganizationIdNavigation = value;
 }