public async Task CloseElectionAsync(int electionId) { var dateTime = DateTime.Now; await _electionRepository.CloseElectionAsync(electionId, dateTime); }