public static VirtualContentViewModel Create(BLL.Content content, string tabId, int parentId) { var viewModel = Create <VirtualContentViewModel>(content, tabId, parentId); viewModel.Init(); return(viewModel); }
public static ContentViewModel Create(BLL.Content content, string tabId, int parentId) => Create <ContentViewModel>(content, tabId, parentId);