Removed BranchId column and wired up delete function