public bool Delete(FirearmEntity firearmEntity) { var firearm = _firearms.Single(f => f.Identifier == firearmEntity.Identifier); _firearms.Remove(firearm); return true; }
public FirearmEntity Save(FirearmEntity firearmEntity) { _firearms.Add(firearmEntity); return firearmEntity; }