public async Task <Result> AddAsync(Result model) { var result = dbContext.Results.Add(model); await dbContext.SaveChangesAsync(); return(result); }
public async Task <User> AddAsync(User user) { var result = dbContext.Users.Add(user); await dbContext.SaveChangesAsync(); return(result); }
public async Task <League> AddAsync(League league) { var result = dbContext.Leagues.Add(league); await dbContext.SaveChangesAsync(); return(result); }
public async Task <Chain> AddAsync(Chain model) { var result = dbContext.Chains.Add(model); await dbContext.SaveChangesAsync(); return(result); }
public async Task <HistoryBlock> AddAsync(HistoryBlock model) { var result = dbContext.HistoryBlocks.Add(model); await dbContext.SaveChangesAsync(); return(result); }
public async Task <Competition> AddAsync(Competition competition) { var result = dbContext.Competitions.Add(competition); await dbContext.SaveChangesAsync(); return(result); }