예제 #1
0
 public static ICategoryDto ToDto(this Dbos.Category category)
 {
     return(new Dtos.Category {
         Id = category.Id.ToString(),
         Description = category.Description,
         Name = category.Name,
         SortOrder = category.SortOrder
                     // TODO:
     });
 }
예제 #2
0
 public static ICategoryDto ToDto(this Dbos.Category category)
 {
     return(new Dtos.Category {
         Id = category.Id.ToString(),
         Name = category.Name,
         Description = category.Description,
         SortOrder = category.SortOrder
                     //CustomProperties = category.CustomProperties
     });
 }