Add method for department repository