public IEnumerable <UserDepartment> GetAllUserDepartmentById(string userId)
 {
     return(userdepartmentRepository.GetMany(x => x.UserID == userId && x.IsActive));
 }