Files
TournamentTracker/TrackerLibrary/DataAccess/SqlConnector.cs

22 lines
626 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace TrackerLibrary.DataAccess
{
public class SqlConnector : IDataConnection
{
// TODO - Make the CreatePrize method actually save to the database
/// <summary>
/// Saves a prize to the database
/// </summary>
/// <param name="model">The prize information.</param>
/// <returns>The prize information, including the unique identifier.</returns>
public Models.PrizeModel CreatePrize(Models.PrizeModel model)
{
model.Id = 1;
return model;
}
}
}