public JsonPatchDocument <ApiLessonXTeacherRequestModel> CreatePatch(ApiLessonXTeacherRequestModel model)
        {
            var patch = new JsonPatchDocument <ApiLessonXTeacherRequestModel>();

            patch.Replace(x => x.LessonId, model.LessonId);
            patch.Replace(x => x.StudentId, model.StudentId);
            return(patch);
        }
        public virtual ApiLessonXTeacherRequestModel MapResponseToRequest(
            ApiLessonXTeacherResponseModel response)
        {
            var request = new ApiLessonXTeacherRequestModel();

            request.SetProperties(
                response.LessonId,
                response.StudentId);
            return(request);
        }