using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DiplomovaPrace.Model.Orders;
using Microsoft.EntityFrameworkCore;

namespace DiplomovaPrace.DataLayer.Repositories.Orders
{
	public partial class DeliveryTypeDbRepository : IDeliveryTypeRepository
	{
		public async Task<List<DeliveryType>> GetAllAndDeletedAsync()
		{
			return await DataIncludingDeleted.OrderBy(i => i.ID).ToListAsync();
		}
	}
}