public void Delete(ShotType model) { using (var context = new BolfTrackerContext()) { context.ShotTypes.Remove(model); context.SaveChanges(); } }