public virtual ApiIncludedColumnTestServerResponseModel MapServerRequestToResponse(
            int id,
            ApiIncludedColumnTestServerRequestModel request)
        {
            var response = new ApiIncludedColumnTestServerResponseModel();

            response.SetProperties(id,
                                   request.Name,
                                   request.Name2);
            return(response);
        }
Esempio n. 2
0
        public virtual ApiIncludedColumnTestServerResponseModel MapEntityToModel(
            IncludedColumnTest item)
        {
            var model = new ApiIncludedColumnTestServerResponseModel();

            model.SetProperties(item.Id,
                                item.Name,
                                item.Name2);

            return(model);
        }