/// <summary>
        /// Initializes a new instance of the <see cref="OrganisationController" /> class.
        /// </summary>
        /// <param name="context"><see cref="IOrganisationServiceContext" /> instance.</param>
        public OrganisationController(IOrganisationServiceContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            this._context = context;
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="OrganisationController" /> class.
        /// </summary>
        /// <param name="context"><see cref="IOrganisationServiceContext" /> instance.</param>
        public OrganisationController(IOrganisationServiceContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            this._context = context;
        }