using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp1
{
    public partial class Order
    {
        public double Price => DishOrder.Sum(x => x.Dish.Cost * x.Count);
    }

    public partial class Emploee
    {
        public string EmploeeName => $"{Surname} {Name[0]}.{Middlename[0]}.";
    }
}
