Exemple #1
0
        private async Task <bool> PostOffer(JobOffer jobOffer)
        {
            bool status;

            try
            {
                await _repository.CreateOfferJobAsync(jobOffer);

                status = true;
            }
            catch (Exception)
            {
                status = false;
            }
            return(status);
        }