/// <summary> /// Call repository /// </summary> /// <param name="repository"> The <see cref="ISimNetworkRepository"/>.</param> /// <exception cref="ArgumentNullException">repository isNull</exception> public SimBrandController(ISimNetworkRepository repository) { if (repository == null) { throw new ArgumentNullException("repository"); } _repository = repository; }
public SimNetworkService(ISimNetworkRepository simNetworkRepository, IUnitOfWork unitOfWork) { this._simNetworkRepository = simNetworkRepository; this._unitOfWork = unitOfWork; }