예제 #1
0
        public MavelFrozen2017ServiceTests()
        {
            mockUserRepository = new Mock <IMavelFrozenUserRepository>();
            mockSNSRepository  = new Mock <IMavelFrozenSnsRepository>();

            service = new MavelFrozenService(mockUserRepository.Object, mockSNSRepository.Object);
        }
예제 #2
0
        public MavelFrozenApiController(IMavelFrozenService service, ICommonProvider common)
        {
            this.service = service;
            this.common  = common;

            mapperConfig = new MapperConfiguration(cfg => {
                cfg.CreateMap <MarvelFrozenUserModel, MavelFrozenUser>();
                cfg.CreateMap <MarvelFrozenSnsModel, MavelFrozenSNS>();
            });
        }
예제 #3
0
 public AdminMarvelFrozenController(ICommonProvider common, IMavelFrozenService service)
 {
     this.common  = common;
     this.service = service;
 }