コード例 #1
0
        public virtual ApiTeacherTeacherSkillClientRequestModel MapClientResponseToRequest(
            ApiTeacherTeacherSkillClientResponseModel response)
        {
            var request = new ApiTeacherTeacherSkillClientRequestModel();

            request.SetProperties(
                response.TeacherId,
                response.TeacherSkillId);
            return(request);
        }
コード例 #2
0
        public virtual ApiTeacherTeacherSkillClientResponseModel MapClientRequestToResponse(
            int id,
            ApiTeacherTeacherSkillClientRequestModel request)
        {
            var response = new ApiTeacherTeacherSkillClientResponseModel();

            response.SetProperties(id,
                                   request.TeacherId,
                                   request.TeacherSkillId);
            return(response);
        }