public void AddEvent(ApiEventClientResponseModel item) { if (!this.Events.Any(x => x.Id == item.Id)) { this.Events.Add(item); } }
public virtual ApiEventClientRequestModel MapClientResponseToRequest( ApiEventClientResponseModel response) { var request = new ApiEventClientRequestModel(); request.SetProperties( response.ActualEndDate, response.ActualStartDate, response.BillAmount, response.EventStatusId, response.ScheduledEndDate, response.ScheduledStartDate, response.StudentNotes, response.TeacherNotes); return(request); }
public void SetEventIdNavigation(ApiEventClientResponseModel value) { this.EventIdNavigation = value; }