예제 #1
0
 public void AddItem(int itemId)
 {
     if (!string.IsNullOrEmpty(repositoryLayer.GetItem(itemId)))
     {
         repositoryLayer.Update();
     }
     else
     {
         repositoryLayer.Create();
     }
 }