public async Task <TimeEntryResponse> AddTimeEntryAsync(AddTimeEntryRequest req) { var entry = _mapper.Map(req); var result = _repo.Add(entry); await _repo.UnitOfWork.SaveChangesAsync(); //TODO: Look for all confirm results, and hopefully one day get rid of them //the add is not linking the foreign key objects.... var confirmResult = await _repo.GetEntryAsync(result.Id); return(_mapper.Map(confirmResult)); }