Merge pull request 'SES-67' (#11) from SES-67 into master
Reviewed-on: #11
This commit is contained in:
commit
21710903ed
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class CharismaRepository : Repository<Charisma>, IRepository<Charisma>
|
||||||
|
{
|
||||||
|
public CharismaRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class ConstitutionRepository : Repository<Constitution>, IRepository<Constitution>
|
||||||
|
{
|
||||||
|
public ConstitutionRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class DexterityRepository : Repository<Dexterity>, IRepository<Dexterity>
|
||||||
|
{
|
||||||
|
public DexterityRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class IntelligenceRepository : Repository<Intelligence>, IRepository<Intelligence>
|
||||||
|
{
|
||||||
|
public IntelligenceRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class StrengthRepository : Repository<Strength>, IRepository<Strength>
|
||||||
|
{
|
||||||
|
public StrengthRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
using SessionCompanion.Database.Repositories.Base;
|
||||||
|
using SessionCompanion.Database.Tables;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace SessionCompanion.Database.Repositories
|
||||||
|
{
|
||||||
|
public class WisdomRepository : Repository<Wisdom>, IRepository<Wisdom>
|
||||||
|
{
|
||||||
|
public WisdomRepository(ApplicationDbContext _dbContext) : base(_dbContext)
|
||||||
|
{ }
|
||||||
|
}
|
||||||
|
}
|
@ -17,10 +17,16 @@ namespace SessionCompanion.Configurations
|
|||||||
services.AddScoped<IRepository<Background>, BackgroundRepository>();
|
services.AddScoped<IRepository<Background>, BackgroundRepository>();
|
||||||
services.AddScoped<IRepository<Biography>, BiographyRepository>();
|
services.AddScoped<IRepository<Biography>, BiographyRepository>();
|
||||||
services.AddScoped<IRepository<Character>, CharacterRepository>();
|
services.AddScoped<IRepository<Character>, CharacterRepository>();
|
||||||
|
services.AddScoped<IRepository<Charisma>, CharismaRepository>();
|
||||||
services.AddScoped<IRepository<Class>, ClassRepository>();
|
services.AddScoped<IRepository<Class>, ClassRepository>();
|
||||||
|
services.AddScoped<IRepository<Constitution>, ConstitutionRepository>();
|
||||||
|
services.AddScoped<IRepository<Dexterity>, DexterityRepository>();
|
||||||
|
services.AddScoped<IRepository<Intelligence>, IntelligenceRepository>();
|
||||||
services.AddScoped<IRepository<Race>, RaceRepository>();
|
services.AddScoped<IRepository<Race>, RaceRepository>();
|
||||||
services.AddScoped<IRepository<Statistics>, StatisticsRepository>();
|
services.AddScoped<IRepository<Statistics>, StatisticsRepository>();
|
||||||
|
services.AddScoped<IRepository<Strength>, StrengthRepository>();
|
||||||
services.AddScoped<IRepository<User>, UserRepository>();
|
services.AddScoped<IRepository<User>, UserRepository>();
|
||||||
|
services.AddScoped<IRepository<Wisdom>, WisdomRepository>();
|
||||||
|
|
||||||
return services;
|
return services;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user