private void Btn_Report_Click(object sender, RoutedEventArgs e) { using (var Db = new SkladModel()) { Db.Report(idOperation); } }