public async Task <bool> UpdateAsync(core.Completion Completion) { if (!await CompletionExists(Completion.UNITID)) { return(false); } var upCompletion = Completion.ToDataObject(); _context.Completion.Update(upCompletion); _context.Update(upCompletion); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.Student Student) { if (!await StudentExists(Student.UNITID)) { return(false); } var upStudent = Student.ToDataObject(); _context.Student.Update(upStudent); _context.Update(upStudent); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.Root root) { if (!await RootExists(root.UNITID)) { return(false); } var upRoot = root.ToDataObject(); _context.Root.Update(upRoot); _context.Update(upRoot); return(true); }
public async Task <bool> UpdateAsync(core.Earnings earnings) { if (!await EarningsExists(earnings.UNITID)) { return(false); } var upEarnings = earnings.ToDataObject(); _context.Earnings.Update(upEarnings); _context.Update(upEarnings); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.TitleIV TitleIV) { if (!await TitleIVExists(TitleIV.UNITID)) { return(false); } var upTitleIV = TitleIV.ToDataObject(); _context.TitleIv.Update(upTitleIV); _context.Update(upTitleIV); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.Admissions Admissions) { if (!await AdmissionsExists(Admissions.UNITID)) { return(false); } var upAdmissions = Admissions.ToDataObject(); _context.Admissions.Update(upAdmissions); _context.Update(upAdmissions); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.School School) { if (!await SchoolExists(School.UNITID)) { return(false); } var upSchool = School.ToDataObject(); _context.School.Update(upSchool); _context.Update(upSchool); return(_context.ChangeTracker.HasChanges()); }
public async Task <bool> UpdateAsync(core.Academics Academics) { if (!await AcademicsExists(Academics.UNITID)) { return(false); } var upAcademics = Academics.ToDataObject(); _context.Academics.Update(upAcademics); _context.Update(upAcademics); return(_context.ChangeTracker.HasChanges()); }