Example #1
0
        public Christmas2017Controller(IChristmas2017Service service, ICommonProvider common)
        {
            this.service = service;
            this.common  = common;

            mapperConfig = new MapperConfiguration(config => {
                config.CreateMap <Christmas2017EntryModel, Christmas2017Entry>();
            });
        }
Example #2
0
 public Christmas2017ServiceTest()
 {
     repo    = new Mock <IChristmas2017EntryRepository>();
     service = new Christmas2017Service(repo.Object);
 }