Source

main / Source / WebClient / Web.Client / ViewModel / DocumentViewModel.cs

Naethra D 3ee1b94 





















using System;
using System.Collections.Generic;
using DataUp.Web.Client.Model;

namespace DataUp.Web.Client.ViewModel
{
    public class DocumentViewModel
    {
        public DocumentViewModel()
        {
            //List<Document> documents = new List<Document>();
            //documents.Add(new Document() { ID = 1, Title = "Title 1", Size = 1024, UploadedOn = DateTime.Now, Status = DocumentStatus.NotPosted, Identifier = "Identifier 1" });
            //documents.Add(new Document() { ID = 2, Title = "Title 2", Size = 2048, UploadedOn = DateTime.Now.AddDays(-3), Status = DocumentStatus.NotPosted, Identifier = "Identifier 2" });
            //documents.Add(new Document() { ID = 3, Title = "Title 3", Size = 4096, UploadedOn = DateTime.Now.AddDays(-6), Status = DocumentStatus.NotPosted, Identifier = "Identifier 3" });

            //this.DocumentList = documents;

            this.DocumentList = new List<Document>();
        }

        public IList<Document> DocumentList { get; set; }
    }
}