Пример #1
0
        public ProjectData ToData()
        {
            CategoryData category = CategoryModel.FindById(CategoryID);

            return(new ProjectData(ProjectKey, Name, LoggedIn.User, category ?? CategoryData.GetDefaultCategory())
            {
                ID = ID
            });
        }