/// <summary> /// Add UserId and ElectionId to HasVoted joining table /// </summary> /// <param name="hasVoted">Unique UserId and Unique ElectionId</param> /// <returns></returns> public async Task AddUserToElection(HasVoted hasVoted) { _context.HasVoted.Add(hasVoted); await _context.SaveChangesAsync(); }
public Task AddUserToElection(HasVoted hasVoted) { throw new NotImplementedException(); }