/// <summary> /// Initializes a new instance of the <see cref="PositionService"/> class with specified <see cref="IStaffCatalogueContext"/>. /// </summary> /// <param name="context">A <see cref="IStaffCatalogueContext"/>.</param> public PositionService(IStaffCatalogueContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
/// <summary> /// Initializes a new instance of the <see cref="LocationRepository"/> class with specified <see cref="IStaffCatalogueContext"/>. /// </summary> /// <param name="context">A <see cref="IStaffCatalogueContext"/>.</param> public LocationRepository(IStaffCatalogueContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }