コード例 #1
0
 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));
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: SteliaGit/HomeWork
 static void create2(IPlan pl)
 {
     pl.Create();
 }