public TestCategory ToBase() { var category = new TestCategory(); category.Id = this.Id; category.Name = this.Name; return category; }
public TestCategoryW(TestCategory category) { this.Id = category.Id; this.Name = category.Name; }