using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MyNamespace
{
    [Serializable]
    public class EmployeeCensus
    {
        public string FirstName { get; set; }
        public int NewId { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }


        public EmployeeCensus(int id, string firstName, string lastName, DateTime dob)
        {
            NewId = id;
            FirstName = firstName;
            LastName = lastName;
            DOB = dob;
        }

        public EmployeeCensus()
        {

        }
    }

    [Serializable]
    public class EmployeeCensusView
    {
        public EmployeeCensusView()
        {
        }

        public List<EmployeeCensus> Rows { get; set; }
        public int TotalRowCount { get; set; }
    }
}
