public bool Delete(Department department)
{
Database db = DatabaseFactory.CreateDatabase(Constants.HBMCONNECTIONSTRING);
DbCommand command = db.GetStoredProcCommand("usp_DepartmentDelete");
db.AddInParameter(command, "@DepartmentId", DbType.Int32, department.DepartmentId);
db.ExecuteNonQuery(command);
return true;
}