Exemplo n.º 1
0
 public void AddFamily(ApiFamilyResponseModel item)
 {
     if (!this.Families.Any(x => x.Id == item.Id))
     {
         this.Families.Add(item);
     }
 }
Exemplo n.º 2
0
        public virtual ApiFamilyRequestModel MapResponseToRequest(
            ApiFamilyResponseModel response)
        {
            var request = new ApiFamilyRequestModel();

            request.SetProperties(
                response.Notes,
                response.PcEmail,
                response.PcFirstName,
                response.PcLastName,
                response.PcPhone,
                response.StudioId);
            return(request);
        }