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