コード例 #1
0
 /// <summary>
 /// Constructor to initialize all properties
 /// </summary>
 /// <param name="timezoneRepository"></param>
 public TimeService(ITimezoneRepository timezoneRepository)
 {
     _timezoneRepository = timezoneRepository;
 }
コード例 #2
0
 public TimezoneService(IUnitOfWork unit, ITimezoneRepository timezoneRepository, IMapperFactory mapperFactory)
 {
     _uow = unit;
     _timezoneRepostory = timezoneRepository;
     _mapper            = mapperFactory.GetMapper(typeof(CoreServices).Name);
 }