Mineplex2018-withcommit/Website/LOC.Website.Common/Contexts/RepositoryFactory.cs
Jonathan Williams 8198bb31c8 Added sneaking to player disguise.
Did work on DDoSProtectionSwitcher
Work on AccountAdministrator to fix rank issues.
2014-09-01 00:56:32 -07:00

13 lines
301 B
C#

namespace LOC.Core.Data
{
using System.Data.Entity;
public class RepositoryFactory : IRepositoryFactory
{
public IRepository CreateRepository<TContext>() where TContext : DbContext, new()
{
return new Repository<TContext>(new TContext());
}
}
}