Пример #1
0
 public CommentController(IPitchService pitchService, IPitchImage pitchImage, IHostingEnvironment enviroment,
                          IUserService userService, ICommentService commentService, IAccountService accountService)
 {
     _pitchService   = pitchService;
     _environment    = enviroment;
     _pitchImage     = pitchImage;
     _userService    = userService;
     _commentService = commentService;
     _accountService = accountService;
 }
Пример #2
0
 public PitchService(PitchContext context, IPitchImage imageService)
 {
     _context      = context;
     _imageService = imageService;
 }
Пример #3
0
 public PitchController(IPitchService pitchservice, IHostingEnvironment enviroment, IPitchImage pitchImage)
 {
     _pitchservice = pitchservice;
     _environment  = enviroment;
     _pitchImage   = pitchImage;
 }