public CampusEntity(DataAccessLogic.tblCampu campus)
        {
            this.ID          = campus.ID;
            this.Name        = campus.Name;
            this.PhoneNumber = campus.PhoneNumber;
            this.Email       = campus.Email;
            this.HouseNo     = campus.HouseNo;

            this.Region  = new RegionEntity(campus.tblRegion);
            this.SubCity = new SubCityEntity(campus.tblSubCity);
            this.Woreda  = new WoredaEntity(campus.tblWoreda);

            this.CreatedBy   = campus.CreatedBy;
            this.CreatedDate = campus.CreatedDate;
            this.UpdatedBy   = campus.UpdatedBy;
            this.UpdatedDate = campus.UpdatedDate;
        }
        public T MapToModel <T>() where T : class
        {
            DataAccessLogic.tblCampu campus = new DataAccessLogic.tblCampu();
            campus.ID   = this.ID;
            campus.Name = this.Name;

            campus.PhoneNumber = this.PhoneNumber;
            campus.Email       = this.Email;
            campus.HouseNo     = this.HouseNo;

            campus.RegionID  = this.Region.ID;
            campus.SubCityID = this.SubCity.ID;
            campus.WoredaID  = this.Woreda.ID;

            campus.CreatedBy   = this.CreatedBy;
            campus.CreatedDate = this.CreatedDate;
            campus.UpdatedBy   = this.UpdatedBy;
            campus.UpdatedDate = this.UpdatedDate;

            return(campus as T);
        }