public UserDepartmentDto GetDepartmentDto(Guid userId, Guid deptId)
 {
     using (_dbContextScopeFactory.CreateReadOnly())
     {
         var model = _userDepartmentRepository.GetUserDepartment(userId, deptId);
         return(_mapper.Map <UserDepartmentDto>(model));
     }
 }