Пример #1
0
        public ManageEditApplyDisplayModel(EditApplyModel eam)
        {
            CandidateRepository cr = new CandidateRepository();

            this.eam = eam;
            this.cm  = cr.GetInfoById(eam.RelatedCandidateId);
        }
Пример #2
0
        public void RejectEditApply(int id)
        {
            EditApplyModel eam = db.EditApplyModel.First(e => e.Id == id);

            db.EditApplyModel.DeleteOnSubmit(eam);
            db.SubmitChanges();
        }
Пример #3
0
 partial void DeleteEditApplyModel(EditApplyModel instance);
Пример #4
0
 partial void UpdateEditApplyModel(EditApplyModel instance);
Пример #5
0
 partial void InsertEditApplyModel(EditApplyModel instance);
Пример #6
0
 public void ApplyEdit(EditApplyModel eam)
 {
     db.EditApplyModel.InsertOnSubmit(eam);
     db.SubmitChanges();
 }