Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseService"/> class.
 /// </summary>
 /// <param name="domainAutoMapper">Objects maps container</param>
 /// <param name="dataIoCContainer">Container of IoC for Data Layer</param>
 public BaseService(IDomainAutoMapper domainAutoMapper, DataIoCContainer dataIoCContainer)
 {
     DomainAutoMapper = domainAutoMapper;
     DatabaseContext  = new DatabaseContext();
     DataIoCContainer = dataIoCContainer;
 }
Exemple #2
0
 /// <summary>
 /// Constuctor
 /// </summary>
 public FlightService(IDomainAutoMapper domainAutoMapper, DataIoCContainer dataIoCContainer)
     : base(domainAutoMapper, dataIoCContainer)
 {
     InitializeRepositories();
 }