public PictureController(IPictureRepository pictureRepository, LinkGenerator linkGenerator, IFakeLoggerRepository fakeLoggerRepository, IHttpContextAccessor contextAccessor, IMapper mapper, IAuthService authService, IPostRepository postRepository)
 {
     this.pictureRepository    = pictureRepository;
     this.linkGenerator        = linkGenerator;
     this.fakeLoggerRepository = fakeLoggerRepository;
     this.contextAccessor      = contextAccessor;
     this.mapper         = mapper;
     this.authService    = authService;
     this.postRepository = postRepository;
 }
 public ContentController(IContentRepository contentRepository, LinkGenerator linkGenerator, IFakeLoggerRepository fakeLoggerRepository, IHttpContextAccessor contextAccessor, IMapper mapper, IAuthService authService, IObjectForSaleMockRepository objectForSaleMockRepository)
 {
     this.contentRepository    = contentRepository;
     this.linkGenerator        = linkGenerator;
     this.fakeLoggerRepository = fakeLoggerRepository;
     this.contextAccessor      = contextAccessor;
     this.mapper      = mapper;
     this.authService = authService;
     this.objectForSaleMockRepository = objectForSaleMockRepository;
 }
Exemple #3
0
 public PostController(IPostRepository postRepository, LinkGenerator linkGenerator, IFakeLoggerRepository fakeLoggerRepository, IHttpContextAccessor contextAccessor, IMapper mapper, IAuthService authService, IUserAccountMockRepository userMockRepository, IContentRepository contentRepository)
 {
     this.postRepository       = postRepository;
     this.linkGenerator        = linkGenerator;
     this.fakeLoggerRepository = fakeLoggerRepository;
     this.contextAccessor      = contextAccessor;
     this.mapper             = mapper;
     this.authService        = authService;
     this.userMockRepository = userMockRepository;
     this.contentRepository  = contentRepository;
 }