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); }
public MainArtistController(IMainArtistService mainArtistService) { _mainArtistService = mainArtistService; }