Beispiel #1
0
        public static Category FromCategory(DB.Category category)
        {
            if (category is null)
            {
                return(null);
            }

            return(new Category(category));
        }
Beispiel #2
0
 public Category(DB.Category category)             : base(category.Document(), category.Id)
 {
 }