public virtual ApiRateClientRequestModel MapClientResponseToRequest( ApiRateClientResponseModel response) { var request = new ApiRateClientRequestModel(); request.SetProperties( response.AmountPerMinute, response.TeacherId, response.TeacherSkillId); return(request); }
public virtual ApiRateClientResponseModel MapClientRequestToResponse( int id, ApiRateClientRequestModel request) { var response = new ApiRateClientResponseModel(); response.SetProperties(id, request.AmountPerMinute, request.TeacherId, request.TeacherSkillId); return(response); }