예제 #1
0
        /// <summary>
        ///     The remove async.
        /// </summary>
        /// <param name="item">
        ///     The item.
        /// </param>
        /// <typeparam name="TEntity">
        /// </typeparam>
        /// <returns>
        ///     The <see cref="Task" />.
        /// </returns>
        public virtual async Task <bool> RemoveAsync <TEntity>(TEntity item)
            where TEntity : class
        {
            await CurrentSession.DeleteAsync(item);

            return(true);
        }