Пример #1
0
        public ProjectDTO DeserializeProject(string fileName)
        {
            IFileDAO   projectDAO = new ProjectDAO();
            FileStream fileStream = new FileStream(fileName, FileMode.Open);
            ProjectDTO projectDTO = (ProjectDTO)projectDAO.Deserialize(fileStream);

            fileStream.Close();
            return(projectDTO);
        }