public virtual ApiRateServerRequestModel MapServerResponseToRequest(
            ApiRateServerResponseModel response)
        {
            var request = new ApiRateServerRequestModel();

            request.SetProperties(
                response.AmountPerMinute,
                response.TeacherId,
                response.TeacherSkillId);
            return(request);
        }
        public void MapModelToEntity()
        {
            var mapper = new DALRateMapper();
            ApiRateServerRequestModel model = new ApiRateServerRequestModel();

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

            response.AmountPerMinute.Should().Be(1m);
            response.TeacherId.Should().Be(1);
            response.TeacherSkillId.Should().Be(1);
        }