public ImportantDocumentCategoryEntityDto(ImportantDocumentCategoryEntity model) { Id = model.Id; Created = model.Created; Modified = model.Modified; Name = model.Name; ImportantDocumentss = model.ImportantDocumentss; }
public static ServersideImportantDocumentCategoryEntity Convert(ImportantDocumentCategoryEntity model) { var dto = new ImportantDocumentCategoryEntityDto(model); return(dto.GetServersideImportantDocumentCategoryEntity()); }