Ejemplo n.º 1
0
 public DbBoardService(OakDbContext context, IMapper mapper, IPostService posts, ThrowHelper throwHelper)
 {
     this.context     = context;
     this.mapper      = mapper;
     this.posts       = posts;
     this.throwHelper = throwHelper;
 }
Ejemplo n.º 2
0
 public DbPostService(IAttachmentsStorage attachmentsStorage,
                      IHashService hashService,
                      OakDbContext context,
                      IMapper mapper,
                      ThrowHelper throwHelper)
 {
     this.attachmentsStorage = attachmentsStorage;
     this.hashService        = hashService;
     this.context            = context;
     this.mapper             = mapper;
     this.throwHelper        = throwHelper;
 }
Ejemplo n.º 3
0
 public FavoriteThreadsService(OakDbContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Ejemplo n.º 4
0
 public DbUserService(OakDbContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }