public DbBoardService(OakDbContext context, IMapper mapper, IPostService posts, ThrowHelper throwHelper) { this.context = context; this.mapper = mapper; this.posts = posts; this.throwHelper = throwHelper; }
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; }
public FavoriteThreadsService(OakDbContext context) { this.context = context ?? throw new ArgumentNullException(nameof(context)); }
public DbUserService(OakDbContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }