Пример #1
0
 public void AddCallStatus(ApiCallStatusClientResponseModel item)
 {
     if (!this.CallStatus.Any(x => x.Id == item.Id))
     {
         this.CallStatus.Add(item);
     }
 }
Пример #2
0
        public virtual ApiCallStatusClientRequestModel MapClientResponseToRequest(
            ApiCallStatusClientResponseModel response)
        {
            var request = new ApiCallStatusClientRequestModel();

            request.SetProperties(
                response.Name);
            return(request);
        }
Пример #3
0
        public virtual ApiCallStatusClientResponseModel MapClientRequestToResponse(
            int id,
            ApiCallStatusClientRequestModel request)
        {
            var response = new ApiCallStatusClientResponseModel();

            response.SetProperties(id,
                                   request.Name);
            return(response);
        }
 public void SetCallStatusIdNavigation(ApiCallStatusClientResponseModel value)
 {
     this.CallStatusIdNavigation = value;
 }