public virtual ApiTableServerResponseModel MapServerRequestToResponse( int id, ApiTableServerRequestModel request) { var response = new ApiTableServerResponseModel(); response.SetProperties(id, request.Name); return(response); }
public virtual ApiTableServerResponseModel MapEntityToModel( Table item) { var model = new ApiTableServerResponseModel(); model.SetProperties(item.Id, item.Name); return(model); }