Exemple #1
0
 public void Update(Core.Domain.Tank model)
 {
     if (model == null)
     {
         throw new ArgumentNullException("model");
     }
     IRepository = new TankRepository();
     IRepository.Update(model);
 }
Exemple #2
0
 public void InsertTank(Core.Domain.Tank model)
 {
     if (model == null)
     {
         throw new ArgumentNullException("group");
     }
     IRepository = new TankRepository();
     IRepository.Insert(model);
 }