コード例 #1
0
        /// <inheritdoc />
        public async Task <bool> ExistsAsync(FlightPlan element)
        {
            if (element == null || !validateFlightPlan(element))
            {
                return(false);
            }

            return(await this.dbContext.FlightPlans.AnyAsync(flightPlan => element.Equals(flightPlan)));
        }