public IEnumerable <UserDepartmentVM> GetAllUserDepartmentByUserId(string userId, bool isAdmin)
 {
     return(userdepartmentRepository.GetAllUserDepartmentByUserId(userId, isAdmin));
 }