More additions, lucky card based on day, redo of migrations because i messed up

This commit is contained in:
2021-11-01 14:59:36 -04:00
parent 685f09a889
commit 0b94455b4b
48 changed files with 284 additions and 7404 deletions

View File

@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TOOHUCardAPI.Data.Models;
@@ -23,5 +24,10 @@ namespace TOOHUCardAPI.Data.Repositories
return card;
}
public async Task<IEnumerable<Card>> GetAllCards()
{
return await _context.Cards.ToListAsync();
}
}
}