//Add Dep Without Parent public IHttpActionResult PostAddDepWithoutParent(department dep) { CommonFunctions.AddDep(db, dep); return(Ok(db.department.ToList())); }