コード例 #1
0
 public TradingPostCategoryEntityDto(TradingPostCategoryEntity model)
 {
     Id                   = model.Id;
     Created              = model.Created;
     Modified             = model.Modified;
     Name                 = model.Name;
     TradingPostListingss = model.TradingPostListingss;
 }
コード例 #2
0
        public static ServersideTradingPostCategoryEntity Convert(TradingPostCategoryEntity model)
        {
            var dto = new TradingPostCategoryEntityDto(model);

            return(dto.GetServersideTradingPostCategoryEntity());
        }