public async Task <bool> CheckCodeExistsAsync(string code) { return(await _departmentRepository.CheckCodeExistsAsync(code)); }