AuthorizeAttributeSample.Models.CarsContext.TryRemove C# (CSharp) Method

TryRemove() public method

public TryRemove ( int id ) : bool
id int
return bool
        public bool TryRemove(int id) {

            Car removedCar;
            return _carsDictionary.TryRemove(id, out removedCar);
        }