public static string DeleteDepartment(int department_id)
 {
     Department Department=new Department ();
     using (Dal.DB db = new Dal.DB())
     {
         Department = db.Departments.Find(department_id);
        // Department.Title = "aaa";
         db.Departments.Remove(Department);
         db.SaveChanges();
     }
     return "ok";
 }
        protected void btnAdd_Click(object sender, EventArgs e)
        {
            Department Department = new Department();
            Department.Title = departmentAddName.Text;
            Department.Description = departmentAddDecriptment.Text;

            using (Dal.DB db = new Dal.DB())
            {
                db.Departments.Add(Department);
                db.SaveChanges();
            }
            departmentAddName.Text = "";
            departmentAddDecriptment.Text = "";
        }