using SharedLibraryCore.Services; using IW4MAdmin.Plugins.Stats.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IW4MAdmin.Plugins.Stats.Helpers { public class ThreadSafeStatsService { public GenericRepository ClientStatSvc { get { return new GenericRepository(true); } } public GenericRepository ServerSvc { get; private set; } public GenericRepository KillStatsSvc { get; private set; } public GenericRepository ServerStatsSvc { get; private set; } public GenericRepository MessageSvc { get { return new GenericRepository(); } } public ThreadSafeStatsService() { ServerSvc = new GenericRepository(); KillStatsSvc = new GenericRepository(); ServerStatsSvc = new GenericRepository(); } } }