public void AcceptOffer(string jobHash, int providerId, double valueAccept) { _jobRepository.AcceptOffer(jobHash, providerId); var job = GetByHash(jobHash); var providerEmail = _clientService.Get(providerId).Email; _emailService.SendAcceptedOffer(job, providerEmail, valueAccept); }