Exemplo n.º 1
0
 public static C.Category ToClient(this G.Category entity)
 {
     if (entity == null)
     {
         return(null);
     }
     return(new C.Category(entity));
 }
Exemplo n.º 2
0
 public Category(G.Category entity)
 {
     Id          = entity.id;
     Name        = entity.name;
     Description = entity.description;
 }