Exemplo n.º 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:
     });
 }
Exemplo n.º 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
     });
 }