public virtual ApiEventTeacherServerRequestModel MapServerResponseToRequest(
            ApiEventTeacherServerResponseModel response)
        {
            var request = new ApiEventTeacherServerRequestModel();

            request.SetProperties(
                response.EventId,
                response.TeacherId);
            return(request);
        }
        public void MapModelToEntity()
        {
            var mapper = new DALEventTeacherMapper();
            ApiEventTeacherServerRequestModel model = new ApiEventTeacherServerRequestModel();

            model.SetProperties(1, 1);
            EventTeacher response = mapper.MapModelToEntity(1, model);

            response.EventId.Should().Be(1);
            response.TeacherId.Should().Be(1);
        }