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

namespace WpfApp3.model
{
    public class Student
    {
        private string photo;

        public Uri GetImageBitmap()
        {
            var imageName = Environment.CurrentDirectory + "/img/" + (photo ?? "");
            return System.IO.File.Exists(imageName) ? new Uri(imageName) : null;
        }
    }
}
