private void Edit() { TrainingProductManager mgr = new TrainingProductManager(); Entity = mgr.Get(Convert.ToInt32(EventArgument)); EditMode(); }
private void Get(string mode = "") { TrainingProductManager mgr = new TrainingProductManager(); Products = mgr.Get(SearchEntity, Products, mode); }