public MavelFrozen2017ServiceTests() { mockUserRepository = new Mock <IMavelFrozenUserRepository>(); mockSNSRepository = new Mock <IMavelFrozenSnsRepository>(); service = new MavelFrozenService(mockUserRepository.Object, mockSNSRepository.Object); }
public MavelFrozenApiController(IMavelFrozenService service, ICommonProvider common) { this.service = service; this.common = common; mapperConfig = new MapperConfiguration(cfg => { cfg.CreateMap <MarvelFrozenUserModel, MavelFrozenUser>(); cfg.CreateMap <MarvelFrozenSnsModel, MavelFrozenSNS>(); }); }
public AdminMarvelFrozenController(ICommonProvider common, IMavelFrozenService service) { this.common = common; this.service = service; }