public async Task CreateAsync(DueDateReason dueDateReasonToAdd)
        {
            Stopwatch timespan = Stopwatch.StartNew();

            try
            {
                db.DueDateReasons.Add(dueDateReasonToAdd);
                await db.SaveChangesAsync();

                timespan.Stop();
                log.TraceApi("SQL Database", "DueDateReasonRepository.CreateAsync", timespan.Elapsed, "dueDateReasonToAdd={0}", dueDateReasonToAdd);
            }
            catch (Exception e)
            {
                log.Error(e, "Error in DueDateReasonRepository.CreateAsync(dueDateReasonToAdd={0})", dueDateReasonToAdd);
                throw;
            }
        }
        public async Task UpdateAsync(DueDateReason dueDateReasonToSave)
        {
            Stopwatch timespan = Stopwatch.StartNew();

            try
            {
                db.Entry(dueDateReasonToSave).State = EntityState.Modified;
                await db.SaveChangesAsync();

                timespan.Stop();
                log.TraceApi("SQL Database", "DueDateReasonRepository.UpdateAsync", timespan.Elapsed, "dueDateReasonToSave={0}", dueDateReasonToSave);
            }
            catch (Exception e)
            {
                log.Error(e, "Error in DueDateReasonRepository.UpdateAsync(dueDateReasonToSave={0})", dueDateReasonToSave);
                throw;
            }
        }
        public async Task DeleteAsync(int dueDateReasonID)
        {
            Stopwatch timespan = Stopwatch.StartNew();

            try
            {
                DueDateReason dueDateReason = await db.DueDateReasons.FindAsync(dueDateReasonID);

                db.DueDateReasons.Remove(dueDateReason);
                await db.SaveChangesAsync();

                timespan.Stop();
                log.TraceApi("SQL Database", "DueDateReasonRepository.DeleteAsync", timespan.Elapsed, "dueDateReasonID={0}", dueDateReasonID);
            }
            catch (Exception e)
            {
                log.Error(e, "Error in DueDateReasonRepository.DeleteAsync(dueDateReasonID={0})", dueDateReasonID);
                throw;
            }
        }