Teams creation and prizes creation are implemented
This commit is contained in:
@ -225,6 +225,16 @@ namespace TrackerLibrary.DataAccess
|
||||
return output;
|
||||
}
|
||||
|
||||
public List<PrizeModel> GetPrizes_All()
|
||||
{
|
||||
List<PrizeModel> output;
|
||||
using (IDbConnection connection = new System.Data.SqlClient.SqlConnection(GlobalConfig.CnnString(db)))
|
||||
{
|
||||
output = connection.Query<PrizeModel>("dbo.spPrizes_GetAll").ToList();
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
||||
public List<TournamentModel> GetTournament_All()
|
||||
{
|
||||
List<TournamentModel> output;
|
||||
|
||||
Reference in New Issue
Block a user