public void ReserveForCurrentUser(Product product)
        {
            _core.ReserveForCurrentUser(product);

            _reservations = null;
        }
 public void ReserveForCurrentUser(Product product)
 {
     Repo.Save(new Reservation(product, DateTime.UtcNow));
 }
 public Reservation(Product product, DateTime createdOn) : this(null, product, createdOn, UserContext.Current)
 {
 }
        public void Reserve(Product product)
        {
            _core.Reserve(product);

            _reservations = null;
        }
 public Reservation(int? id, Product product, DateTime createdOn, User owner) : base(id)
 {
     Owner = owner;
     Product = product;
     CreatedOn = createdOn;
 }