Пример #1
0
 public ModerationPinService(IHostingEnvironment environment, IMemoryCache cache, PinsContext publicPinContext, ModerateContext moderatePinContext)
 {
     this.cache              = cache;
     this.environment        = environment;
     this.publicPinContext   = publicPinContext;
     this.moderatePinContext = moderatePinContext;
 }
 public PublicPinServiceGet(PinsContext context)
 {
     this.context = context;
 }
Пример #3
0
 public SolvedPinService(PinsContext solvedPinContext, IMemoryCache cache, IHostingEnvironment environment)
 {
     this.cache            = cache;
     this.environment      = environment;
     this.solvedPinContext = solvedPinContext;
 }