public void Save()
 {
     _ctx.SaveChanges();
 }
 public void Save()
 {
     context.SaveChanges();
 }
Example #3
0
        public void ApprovePersonPerson(long id)
        {
            var rel = _ctx.PersonPersonRels.Find(id);

            rel.ApprovalStatusId = 1;
            _ctx.SaveChanges();
        }