Exemplo n.º 1
0
        public void Create(OccupationSet _occupation)
        {
            using (var db = new osu2008Entities1())
            {
                var occupation = _occupation;

                db.OccupationSet.Add(_occupation);
                db.SaveChanges();
            }
        }
 public MoreJobsViewModel() : base(PageId.OccupationSearch, "Enter your job title")
 {
     Occupations = new OccupationSet();
 }
Exemplo n.º 3
0
 public OccupationModel(OccupationSet occupation)
 {
     this.OccupationId = occupation.OccupationId;
     this.Name         = occupation.Name;
 }
Exemplo n.º 4
0
 public void Update(OccupationSet _occupation)
 {
     throw new NotImplementedException();
 }