コード例 #1
0
        /// <summary>
        /// Delete a patron from a dining service.
        /// </summary>
        /// <param name="managerId">Manager ID</param>
        /// <param name="serviceId">Target service ID</param>
        /// <param name="tableId">Target table ID</param>
        /// <param name="checkInId">Target check-in ID</param>
        /// <param name="patronId">Target patron ID</param>
        public async Task DeleteDiningPatron(string managerId, string serviceId, string tableId, string checkInId, string patronId)
        {
            // Ensure manager has access to the given venue.
            await _EnsureManagerCanAccessService(managerId, serviceId);

            // Attempt to delete the patron from the venue.
            await _database.DeleteDiningPatron(serviceId, tableId, checkInId, patronId);
        }