public void UpdateYearRecord(MusicYear year) { _context.MusicYear.Update(year); _context.SaveChanges(); }
public void AddYearRecord(MusicYear year) { _context.MusicYear.Add(year); _context.SaveChanges(); }