public void Save(QuartzAdmin.web.Models.InstanceModel instance) { //throw new NotImplementedException(); _instances.Add(instance); QuartzAdmin.web.Models.InstanceModel found = _instances.Find(x => x.InstanceName == instance.InstanceName); if (found != null) { _instances.Remove(found); } _instances.Add(instance); }
public void Delete(QuartzAdmin.web.Models.InstanceModel instance) { _instances.Remove(instance); }