public void Handle(RejectOfferCommand command)
        {
            var offer = _context.Offers.Find(command.OfferId);

            offer.UpdatedAt = DateTime.Now;
            offer.Status    = Status.Rejected;

            _context.SaveChanges();
        }
        public void Handle(RejectOfferCommand command)
        {
            var offer = _context.Offers.FirstOrDefault(o => o.Id == command.OfferId);

            offer.UpdatedAt = DateTime.Now;
            offer.Status    = OfferStatus.Rejected;

            _context.SaveChanges();
        }