Ejemplo n.º 1
0
 public PoemService(IPoemSyntaxRulesParser parser, IPoemRepository poemRepository, Config config, IPoemGen poemGenerator)
 {
     this.parser         = parser;
     this.poemRepository = poemRepository;
     this.config         = config;
     this.poemGenerator  = poemGenerator;
 }
Ejemplo n.º 2
0
 public PoemAppService(IPoemRepository poemRepository
                       , IRepository <Category> categoryRepository
                       , IRepository <Poet> poetRepository
                       , ICategoryPoemRepository categoryPoemRepository)
 {
     _poemRepository         = poemRepository;
     _categoryRepository     = categoryRepository;
     _poetRepository         = poetRepository;
     _categoryPoemRepository = categoryPoemRepository;
 }
Ejemplo n.º 3
0
 public PoetTestDataSeed(IRepository <Poet, int> _appPoet,
                         IRepository <Category, int> _appCategory,
                         IPoemRepository _appPoem,
                         IRepository <CategoryPoem, int> _appCategoryPoem)
 {
     this._appPoet         = _appPoet;
     this._appCategory     = _appCategory;
     this._appPoem         = _appPoem;
     this._appCategoryPoem = _appCategoryPoem;
 }
Ejemplo n.º 4
0
 public PoemService(
     IPoemRepository poemRepository,
     IUserProfileService userProfileService,
     IPlayerService playerService,
     IEventService eventService,
     IPoemRequestService poemRequestService,
     IFacebookProfileProxy facebookProfileProxy,
     IFacebookRequestService facebookRequestService)
 {
     this.poemRepository = poemRepository;
     this.userProfileService = userProfileService;
     this.playerService = playerService;
     this.eventService = eventService;
     this.poemRequestService = poemRequestService;
     this.facebookProfileProxy = facebookProfileProxy;
     this.facebookRequestService = facebookRequestService;
 }
Ejemplo n.º 5
0
 public PoemsController(IPoemRepository context)
 {
     _poemRepository = context;
 }
Ejemplo n.º 6
0
 public UserProfileController(UserManager <UserModel> userManager, IPoemRepository poemRepository)
 {
     _userManager    = userManager;
     _poemRepository = poemRepository;
 }