コード例 #1
0
        public void TestInitialize()
        {
            _partyMainArtistRepository = new Mock <IPartyMainArtistRepository>();
            _partyRealRepository       = new Mock <IPartyRealRepository>();
            _unitOfWork = new Mock <IUnitOfWork <HljodritEntitiesDb> >();

            _personService = new Mock <IPersonService>();

            _mainArtistService = new MainArtistService(_partyMainArtistRepository.Object,
                                                       _partyRealRepository.Object, _personService.Object, _unitOfWork.Object);
        }
コード例 #2
0
 public MainArtistController(IMainArtistService mainArtistService)
 {
     _mainArtistService = mainArtistService;
 }