public PlanDO Create(IUnitOfWork uow, string name, string category = "", string ownerId = "", PlanVisibility visibility = PlanVisibility.Standard) { //TODO: probably worth add a check that only admin can create plan with specific owner Id and internal plan visibility return(_target.Create(uow, name, category, ownerId, visibility)); }
static void create2(IPlan pl) { pl.Create(); }