public virtual ApiMessengerClientRequestModel MapClientResponseToRequest(
            ApiMessengerClientResponseModel response)
        {
            var request = new ApiMessengerClientRequestModel();

            request.SetProperties(
                response.Date,
                response.FromUserId,
                response.MessageId,
                response.Time,
                response.ToUserId,
                response.UserId);
            return(request);
        }
        public virtual ApiMessengerClientResponseModel MapClientRequestToResponse(
            int id,
            ApiMessengerClientRequestModel request)
        {
            var response = new ApiMessengerClientResponseModel();

            response.SetProperties(id,
                                   request.Date,
                                   request.FromUserId,
                                   request.MessageId,
                                   request.Time,
                                   request.ToUserId,
                                   request.UserId);
            return(response);
        }