public void AddStudent(ApiStudentClientResponseModel item) { if (!this.Students.Any(x => x.Id == item.Id)) { this.Students.Add(item); } }
public virtual ApiStudentClientRequestModel MapClientResponseToRequest( ApiStudentClientResponseModel response) { var request = new ApiStudentClientRequestModel(); request.SetProperties( response.Birthday, response.Email, response.EmailRemindersEnabled, response.FamilyId, response.FirstName, response.IsAdult, response.LastName, response.Phone, response.SmsRemindersEnabled, response.UserId); return(request); }
public void SetStudentIdNavigation(ApiStudentClientResponseModel value) { this.StudentIdNavigation = value; }