public int CreateResult(CountResultRow row) { WaitForDb(); return(_wordCountersRepository.Create(row)); }
public int Create(CountResultRow countResultRow) { _countResultsContext.CountResults.Add(countResultRow); _countResultsContext.SaveChanges(); return(countResultRow.Id); }