public void UpdateYearlyCommentRecord(YearlyComment yearlyComment) { _context.YearlyComment.Update(yearlyComment); _context.SaveChanges(); }
public void AddYearlyCommentRecord(YearlyComment yearlyComment) { _context.YearlyComment.Add(yearlyComment); _context.SaveChanges(); }